mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
Make extension chunk names independent of the build directory
This commit is contained in:
1 parent
175df9fb47
commit
3023e12407
1 file changed
+3
@@ -133,6 +133,9 @@ export default defineConfig(({ command, mode: viteMode }) => {
|
||||
},
|
||||
output: {
|
||||
assetFileNames: "assets/[name]-[hash][extname]",
|
||||
// Extension packages are versioned; stable chunk names keep source rebuilds identical.
|
||||
entryFileNames: "assets/[name].js",
|
||||
chunkFileNames: "assets/[name].js",
|
||||
manualChunks(id) {
|
||||
const normalized = id.replace(/\\/g, "/");
|
||||
// Keep the Svelte mount helper out of the settings entry chunk so
|
||||
|
||||
Reference in new issue
Block a user