fix(build): disable tree shaking (#5558)

This commit is contained in:
三咲智子 2022-01-22 08:32:03 -03:00 committed by GitHub
parent 1c80f08a39
commit 75d90a9e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,