chore: update treeshaken deps list

This commit is contained in:
Evan You 2023-04-10 15:16:29 +08:00
parent c94ef02421
commit b16866d56b

View File

@ -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) {