Spaces:
Running
Running
Commit ·
305b744
1
Parent(s): 7f37689
test with yaml
Browse files- vite.config.js +7 -0
vite.config.js
CHANGED
|
@@ -5,6 +5,13 @@ export default defineConfig({
|
|
| 5 |
plugins: [react()],
|
| 6 |
build: {
|
| 7 |
outDir: 'dist',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
},
|
| 9 |
server: {
|
| 10 |
port: 5000,
|
|
|
|
| 5 |
plugins: [react()],
|
| 6 |
build: {
|
| 7 |
outDir: 'dist',
|
| 8 |
+
rollupOptions: {
|
| 9 |
+
output: {
|
| 10 |
+
entryFileNames: 'assets/[name].js',
|
| 11 |
+
chunkFileNames: 'assets/[name].js',
|
| 12 |
+
assetFileNames: 'assets/[name].[ext]',
|
| 13 |
+
},
|
| 14 |
+
},
|
| 15 |
},
|
| 16 |
server: {
|
| 17 |
port: 5000,
|