fix warning due to @rollup/plugin-replace update

Forwarded: no
Last-Update: 2021-12-01

Gbp-Pq: Name fix-rollup-plugin-replace-warning.patch
This commit is contained in:
Yadd 2022-05-19 14:59:04 +08:00 committed by openKylinBot
parent 74777bb357
commit 3db59e5295
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ function buildRollup(packages, targetBrowsers) {
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV), "process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV),
BABEL_VERSION: JSON.stringify(babelVersion), BABEL_VERSION: JSON.stringify(babelVersion),
VERSION: JSON.stringify(version), VERSION: JSON.stringify(version),
preventAssignment: true,
}), }),
rollupBabel({ rollupBabel({
envName: babelEnvName, envName: babelEnvName,