mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 18:27:40 +08:00
fix(build): disable tree shaking (#5558)
This commit is contained in:
parent
1c80f08a39
commit
75d90a9e81
@ -41,6 +41,7 @@ export const buildModules = async () => {
|
|||||||
filesize({ reporter }),
|
filesize({ reporter }),
|
||||||
],
|
],
|
||||||
external: await generateExternal({ full: false }),
|
external: await generateExternal({ full: false }),
|
||||||
|
treeshake: false,
|
||||||
})
|
})
|
||||||
await writeBundles(
|
await writeBundles(
|
||||||
bundle,
|
bundle,
|
||||||
|
Loading…
Reference in New Issue
Block a user