close #8312
@@ -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')`
})
}