mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-10 23:15:06 +01:00
14 lines
318 B
TypeScript
14 lines
318 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react-swc";
|
|
import loadVersion from "vite-plugin-package-version";
|
|
import path from "path";
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), loadVersion()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
});
|