web: fix chunks overwriting each other
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
634ea61b50
commit
9b13191646
|
@ -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: [
|
||||||
|
|
Reference in New Issue