.
This commit is contained in:
@@ -45,4 +45,15 @@ export default defineConfig(({ command }) => ({
|
||||
},
|
||||
},
|
||||
base: command === "build" ? "/static/dv3d/" : "/",
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: `index.js`,
|
||||
chunkFileNames: `[name].js`,
|
||||
assetFileNames: `[name][extname]`,
|
||||
},
|
||||
},
|
||||
outDir: "dist",
|
||||
emptyOutDir: true,
|
||||
},
|
||||
}))
|
||||
Reference in New Issue
Block a user