chore: update treeshaken deps list
This commit is contained in:
parent
c94ef02421
commit
b16866d56b
|
@ -215,7 +215,7 @@ function createConfig(format, output, plugins = []) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function resolveExternal() {
|
function resolveExternal() {
|
||||||
const treeShakenDeps = ['source-map', '@babel/parser', 'estree-walker']
|
const treeShakenDeps = ['source-map-js', '@babel/parser', 'estree-walker']
|
||||||
|
|
||||||
if (isGlobalBuild || isBrowserESMBuild || isCompatPackage) {
|
if (isGlobalBuild || isBrowserESMBuild || isCompatPackage) {
|
||||||
if (!packageOptions.enableNonBrowserBranches) {
|
if (!packageOptions.enableNonBrowserBranches) {
|
||||||
|
|
Loading…
Reference in New Issue