diff --git a/rollup.config.js b/rollup.config.js index 0b5ffa3b067..40708b162c0 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -193,7 +193,7 @@ function createConfig(format, output, plugins = []) { if (isBundlerESMBuild) { Object.assign(replacements, { // preserve to be handled by bundlers - __DEV__: `process.env.NODE_ENV !== 'production'` + __DEV__: String(process.env.NODE_ENV !== 'production') }) }