From c81c64539418a42ec19c9c0c7694bf291d9c85b8 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 4 Oct 2021 19:46:07 +0300 Subject: rollup: specify `generatedCode: 'es2015'` (#35070) This will make use of `const` and modern features (which we are already using in our code) in the generated rollup code. --- 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 1d4b0d3e4d..d85f2441c3 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -98,7 +98,8 @@ const conf = { output: { format: 'iife', name: 'bootstrapTest', - sourcemap: 'inline' + sourcemap: 'inline', + generatedCode: 'es2015' } } } -- cgit v1.2.3