Skip to content

Commit 5851eaa

Browse files
authored
fix(build): fix dev flag replacement in esm-bundler builds
1 parent 85f4d8c commit 5851eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function createConfig(format, output, plugins = []) {
192192
if (isBundlerESMBuild) {
193193
Object.assign(replacements, {
194194
// preserve to be handled by bundlers
195-
__DEV__: `(process.env.NODE_ENV !== 'production')`
195+
__DEV__: `process.env.NODE_ENV !== 'production'`
196196
})
197197
}
198198

0 commit comments

Comments
 (0)