movie-web/vite.config.ts

13 lines
248 B
TypeScript
Raw Normal View History

2022-12-13 22:19:07 +00:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
2022-12-13 22:50:13 +00:00
"@": path.resolve(__dirname, "./src"),
2022-12-13 22:19:07 +00:00
},
},
});