build: disable reexportProtoFromExternal in rollup config

This commit is contained in:
Evan You 2024-02-26 09:53:59 +08:00
parent a24809fbd2
commit b3bd3a210a

View File

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