aboutsummaryrefslogtreecommitdiff
path: root/js/tests/integration/rollup.bundle.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-03-10 18:47:42 +0200
committerGitHub <[email protected]>2021-03-10 18:47:42 +0200
commit2732a60ecdc23578f6f0c0113271fbd047b707a2 (patch)
tree3c9cd1007a95404cfa500bfa5868cfd545c149cd /js/tests/integration/rollup.bundle.js
parent26c999152b337f738394cc7d7fbfeb4d7917870a (diff)
downloadbootstrap-2732a60ecdc23578f6f0c0113271fbd047b707a2.tar.xz
bootstrap-2732a60ecdc23578f6f0c0113271fbd047b707a2.zip
@rollup/plugin-replace: specify `preventAssignment: true` (#33329)
This is to fix a warning since the option will be set to true in the next major version of the plugin
Diffstat (limited to 'js/tests/integration/rollup.bundle.js')
-rw-r--r--js/tests/integration/rollup.bundle.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tests/integration/rollup.bundle.js b/js/tests/integration/rollup.bundle.js
index 288f40961..caddcab48 100644
--- a/js/tests/integration/rollup.bundle.js
+++ b/js/tests/integration/rollup.bundle.js
@@ -12,7 +12,8 @@ module.exports = {
},
plugins: [
replace({
- 'process.env.NODE_ENV': '"production"'
+ 'process.env.NODE_ENV': '"production"',
+ preventAssignment: true
}),
nodeResolve(),
babel({