Chunk tinyld out

This commit is contained in:
Lim Chee Aun 2024-06-10 20:38:41 +08:00
parent 901725793b
commit 42d761e747

View file

@ -118,9 +118,10 @@ export default defineConfig({
compose: resolve(__dirname, 'compose/index.html'),
},
output: {
// manualChunks: {
manualChunks: {
// 'intl-segmenter-polyfill': ['@formatjs/intl-segmenter/polyfill'],
// },
'tinyld-light': ['tinyld/light'],
},
chunkFileNames: (chunkInfo) => {
const { facadeModuleId } = chunkInfo;
if (facadeModuleId && facadeModuleId.includes('icon')) {