Spaces:
Sleeping
Sleeping
lucas-wa
commited on
Commit
•
1e6b7ad
1
Parent(s):
9bc6550
Fix build options
Browse files- web/vite.config.js +4 -0
web/vite.config.js
CHANGED
@@ -6,6 +6,10 @@ const __dirname = path.resolve();
|
|
6 |
|
7 |
// https://vitejs.dev/config/
|
8 |
export default defineConfig({
|
|
|
|
|
|
|
|
|
9 |
plugins: [react()],
|
10 |
resolve: {
|
11 |
alias: {
|
|
|
6 |
|
7 |
// https://vitejs.dev/config/
|
8 |
export default defineConfig({
|
9 |
+
build: {
|
10 |
+
outDir: '../server/static',
|
11 |
+
emptyOutDir: true,
|
12 |
+
},
|
13 |
plugins: [react()],
|
14 |
resolve: {
|
15 |
alias: {
|