main Initial commit
This commit is contained in:
commit
ac7df91600
65 changed files with 8957 additions and 0 deletions
17
vite.config.ts
Normal file
17
vite.config.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
import path from 'path';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
root: './src/web',
|
||||
build: {
|
||||
outDir: '../../dist/web',
|
||||
emptyOutDir: true,
|
||||
},
|
||||
resolve: {
|
||||
alias: { '@': path.resolve(__dirname, './src/web') },
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue