From 75d90a9e81eb0946f9fb419bf16e5ed4c87b8d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Sat, 22 Jan 2022 08:32:03 -0300 Subject: [PATCH] fix(build): disable tree shaking (#5558) --- build/modules.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/build/modules.ts b/build/modules.ts index d1e5690af0..680d2b69a5 100644 --- a/build/modules.ts +++ b/build/modules.ts @@ -41,6 +41,7 @@ export const buildModules = async () => { filesize({ reporter }), ], external: await generateExternal({ full: false }), + treeshake: false, }) await writeBundles( bundle,