From 2732a60ecdc23578f6f0c0113271fbd047b707a2 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 10 Mar 2021 18:47:42 +0200 Subject: @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 --- js/tests/karma.conf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/tests/karma.conf.js') diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index c13413449d..67b60f15ee 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -77,7 +77,8 @@ const conf = { rollupPreprocessor: { plugins: [ replace({ - 'process.env.NODE_ENV': '"dev"' + 'process.env.NODE_ENV': '"dev"', + preventAssignment: true }), istanbul({ exclude: [ -- cgit v1.2.3