mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 13:19:22 +01:00
Try split it out as another chunk
This commit is contained in:
parent
42dac0720f
commit
29e9e15d3f
1 changed files with 3 additions and 0 deletions
|
@ -116,6 +116,9 @@ export default defineConfig({
|
||||||
compose: resolve(__dirname, 'compose/index.html'),
|
compose: resolve(__dirname, 'compose/index.html'),
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
manualChunks: {
|
||||||
|
'intl-segmenter-polyfill': ['@formatjs/intl-segmenter/polyfill'],
|
||||||
|
},
|
||||||
chunkFileNames: (chunkInfo) => {
|
chunkFileNames: (chunkInfo) => {
|
||||||
const { facadeModuleId } = chunkInfo;
|
const { facadeModuleId } = chunkInfo;
|
||||||
if (facadeModuleId && facadeModuleId.includes('icon')) {
|
if (facadeModuleId && facadeModuleId.includes('icon')) {
|
||||||
|
|
Loading…
Reference in a new issue