Explorar o código

fix(build): fix dev flag replacement in esm-bundler builds

Evan You %!s(int64=3) %!d(string=hai) anos
pai
achega
5851eaa933
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rollup.config.js

+ 1 - 1
rollup.config.js

@@ -192,7 +192,7 @@ function createConfig(format, output, plugins = []) {
     if (isBundlerESMBuild) {
     if (isBundlerESMBuild) {
       Object.assign(replacements, {
       Object.assign(replacements, {
         // preserve to be handled by bundlers
         // preserve to be handled by bundlers
-        __DEV__: `(process.env.NODE_ENV !== 'production')`
+        __DEV__: `process.env.NODE_ENV !== 'production'`
       })
       })
     }
     }