diff options
Diffstat (limited to 'build/rollup.config.js')
| -rw-r--r-- | build/rollup.config.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build/rollup.config.js b/build/rollup.config.js index 7f9c1c7e1..8cecec9aa 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -28,7 +28,13 @@ if (BUNDLE) { // Remove last entry in external array to bundle Popper external.pop() delete globals['@popperjs/core'] - plugins.push(replace({ 'process.env.NODE_ENV': '"production"' }), nodeResolve()) + plugins.push( + replace({ + 'process.env.NODE_ENV': '"production"', + preventAssignment: true + }), + nodeResolve() + ) } const rollupConfig = { |
