web: fix chunks overwriting each other

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-14 01:06:29 +02:00
parent 634ea61b50
commit 9b13191646
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ export default [
dir: "dist", dir: "dist",
sourcemap: true, sourcemap: true,
manualChunks: manualChunks, manualChunks: manualChunks,
chunkFileNames: "[name].js" chunkFileNames: "admin-[name].js"
}, },
], ],
plugins: [ plugins: [
@ -136,7 +136,7 @@ export default [
dir: "dist", dir: "dist",
sourcemap: true, sourcemap: true,
manualChunks: manualChunks, manualChunks: manualChunks,
chunkFileNames: "[name].js" chunkFileNames: "flow-[name].js"
}, },
], ],
plugins: [ plugins: [