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

View file

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