Explorar o código

chore: suppress rollup plugin replace warning

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

+ 4 - 1
rollup.config.js

@@ -235,7 +235,10 @@ function createReplacePlugin(
       replacements[key] = process.env[key]
     }
   })
-  return replace(replacements)
+  return replace({
+    values: replacements,
+    preventAssignment: true
+  })
 }
 
 function createProductionConfig(format) {