Chunk tinyld out
This commit is contained in:
parent
901725793b
commit
42d761e747
|
@ -118,9 +118,10 @@ export default defineConfig({
|
||||||
compose: resolve(__dirname, 'compose/index.html'),
|
compose: resolve(__dirname, 'compose/index.html'),
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
// manualChunks: {
|
manualChunks: {
|
||||||
// 'intl-segmenter-polyfill': ['@formatjs/intl-segmenter/polyfill'],
|
// 'intl-segmenter-polyfill': ['@formatjs/intl-segmenter/polyfill'],
|
||||||
// },
|
'tinyld-light': ['tinyld/light'],
|
||||||
|
},
|
||||||
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