Browse Source

build: disable reexportProtoFromExternal in rollup config

Evan You 2 năm trước cách đây
mục cha
commit
b3bd3a210a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      rollup.config.js

+ 2 - 0
rollup.config.js

@@ -143,6 +143,8 @@ function createConfig(format, output, plugins = []) {
   }
   output.sourcemap = !!process.env.SOURCE_MAP
   output.externalLiveBindings = false
+  // https://github.com/rollup/rollup/pull/5380
+  output.reexportProtoFromExternal = false
 
   if (isGlobalBuild) {
     output.name = packageOptions.name