diff --git a/rollup.config.js b/rollup.config.js index cfe334694de..7050ba437e6 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__: `!!(process.env.NODE_ENV !== 'production')` }) }