mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
Chunk tinyld out
This commit is contained in:
parent
901725793b
commit
42d761e747
1 changed files with 4 additions and 3 deletions
|
@ -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