From 3431668162b20711b8b12457a6c68885158bc133 Mon Sep 17 00:00:00 2001 From: _Kerman Date: Fri, 18 Oct 2024 23:37:26 +0800 Subject: [PATCH] chore: disable rollup treeshake --- test/e2e/plugin.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/e2e/plugin.ts b/test/e2e/plugin.ts index 643f12fa..a44fc3fd 100644 --- a/test/e2e/plugin.ts +++ b/test/e2e/plugin.ts @@ -21,10 +21,9 @@ export default function (): Plugin | false { formats: ['es'], fileName: disabled ? 'bundled' : 'shaken' }, - // Currently enabling Rollup treeshake because JS built-ins is not supported yet - // rollupOptions: { - // treeshake: false - // }, + rollupOptions: { + treeshake: false + }, outDir: './dist', minify: false, emptyOutDir: false,