Browse Source

chore: update treeshaken deps list

Evan You 3 years ago
parent
commit
b16866d56b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rollup.config.js

+ 1 - 1
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) {