From b16866d56bdd278fd128f9cc2241262304e3259f Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 10 Apr 2023 15:16:29 +0800 Subject: [PATCH] chore: update treeshaken deps list --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 21ee72b4ea..0b5ffa3b06 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -215,7 +215,7 @@ function createConfig(format, output, plugins = []) { } function resolveExternal() { - const treeShakenDeps = ['source-map', '@babel/parser', 'estree-walker'] + const treeShakenDeps = ['source-map-js', '@babel/parser', 'estree-walker'] if (isGlobalBuild || isBrowserESMBuild || isCompatPackage) { if (!packageOptions.enableNonBrowserBranches) { -- 2.47.3