add flatastic api
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import path from "path";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "src"),
|
||||
"@components": path.resolve(__dirname, "src/components"),
|
||||
"@store": path.resolve(__dirname, "src/store"),
|
||||
"@api": path.resolve(__dirname, "src/api"),
|
||||
"@types": path.resolve(__dirname, "src/types"),
|
||||
"@thunks": path.resolve(__dirname, "src/store/thunks"),
|
||||
"@slices": path.resolve(__dirname, "src/store/slices"),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user