Skip to content

Commit

Permalink
fix(build): fix dev flag replacement in esm-bundler builds
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 authored Feb 5, 2023
1 parent 85f4d8c commit 5851eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,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 5851eaa

Please sign in to comment.