Skip to content

Commit

Permalink
fix(build): fix dev flag replacement in esm-builder builds (#8314)
Browse files Browse the repository at this point in the history
close #8312
  • Loading branch information
Alfred-Skyblue committed May 17, 2023
1 parent a374d7e commit 003836f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Expand Up @@ -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')`
})
}

Expand Down

0 comments on commit 003836f

Please sign in to comment.