init
This commit is contained in:
commit
04267b3886
100 changed files with 16495 additions and 0 deletions
22
frontend/vite.config.ts
Normal file
22
frontend/vite.config.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import path from "path";
|
||||
import { componentTagger } from "lovable-tagger";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig(({ mode }) => ({
|
||||
server: {
|
||||
host: "::",
|
||||
port: 8080,
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
mode === 'development' &&
|
||||
componentTagger(),
|
||||
].filter(Boolean),
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
}));
|
Loading…
Add table
Add a link
Reference in a new issue