]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: update treeshaken deps list
authorEvan You <yyx990803@gmail.com>
Mon, 10 Apr 2023 07:16:29 +0000 (15:16 +0800)
committerEvan You <yyx990803@gmail.com>
Tue, 11 Apr 2023 08:05:00 +0000 (16:05 +0800)
rollup.config.js

index 21ee72b4ea38a67066ebe3b40433bfa4b7b1124f..0b5ffa3b06736f9ca3539fcb41784a0ca9cd91f3 100644 (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) {