Skip to content

Commit 003836f

Browse files
fix(build): fix dev flag replacement in esm-builder builds (#8314)
close #8312
1 parent a374d7e commit 003836f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function createConfig(format, output, plugins = []) {
193193
if (isBundlerESMBuild) {
194194
Object.assign(replacements, {
195195
// preserve to be handled by bundlers
196-
__DEV__: `process.env.NODE_ENV !== 'production'`
196+
__DEV__: `(process.env.NODE_ENV !== 'production')`
197197
})
198198
}
199199

0 commit comments

Comments
 (0)