mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-06 17:26:18 +00:00
Moved all dist code to one folder
This commit is contained in:
@@ -18,7 +18,6 @@ export default defineConfig({
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
@@ -30,5 +29,16 @@ export default defineConfig({
|
||||
},
|
||||
host: '0.0.0.0'
|
||||
},
|
||||
base: '/static/client/dist'
|
||||
build: {
|
||||
target: "es2022",
|
||||
outDir: '../dist/WGDashboardClient',
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: `assets/[name]-[hash].js`,
|
||||
chunkFileNames: `assets/[name]-[hash].js`,
|
||||
assetFileNames: `assets/[name]-[hash].[ext]`
|
||||
}
|
||||
}
|
||||
},
|
||||
base: '/static/dist/WGDashboardClient'
|
||||
})
|
||||
|
Reference in New Issue
Block a user