mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-13 08:15:06 +01:00
19 lines
606 B
TypeScript
19 lines
606 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react-swc";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
components: path.resolve(__dirname, "./src/components"),
|
|
hooks: path.resolve(__dirname, "./src/hooks"),
|
|
state: path.resolve(__dirname, "./src/state"),
|
|
providers: path.resolve(__dirname, "./src/providers"),
|
|
views: path.resolve(__dirname, "./src/views"),
|
|
utils: path.resolve(__dirname, "./src/utils"),
|
|
mw_constants: path.resolve(__dirname, "./src/mw_constants"),
|
|
},
|
|
},
|
|
});
|