Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-10-04 19:46:07 +0300
committerGitHub <noreply@github.com>2021-10-04 19:46:07 +0300
commitc81c64539418a42ec19c9c0c7694bf291d9c85b8 (patch)
tree6448fdc67e7574182db32048cfd7dcd6a4bb92c8 /build/rollup.config.js
parent78e9b402df84042920d9f2a61e86fc3bb0b4dcea (diff)
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.
Diffstat (limited to 'build/rollup.config.js')
-rw-r--r--build/rollup.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/rollup.config.js b/build/rollup.config.js
index 8cecec9aa2..c00438de25 100644
--- a/build/rollup.config.js
+++ b/build/rollup.config.js
@@ -43,7 +43,8 @@ const rollupConfig = {
banner,
file: path.resolve(__dirname, `../dist/js/${fileDest}.js`),
format: ESM ? 'esm' : 'umd',
- globals
+ globals,
+ generatedCode: 'es2015'
},
external,
plugins