aboutsummaryrefslogtreecommitdiff
path: root/build/rollup.config.js
diff options
context:
space:
mode:
authorHenry Zhu <[email protected]>2017-09-17 02:40:48 -0400
committerJohann-S <[email protected]>2017-09-17 08:40:48 +0200
commitf17b165f0fa2ff7b9537cfc368796aa92ae91139 (patch)
treec680c0c9ff60b14831840a2ee31ec5ce27fa125c /build/rollup.config.js
parent5cec8e0de6d6d9fa525e82f309ada18fdb3e3753 (diff)
downloadbootstrap-f17b165f0fa2ff7b9537cfc368796aa92ae91139.tar.xz
bootstrap-f17b165f0fa2ff7b9537cfc368796aa92ae91139.zip
Babel 7 (#23966)
* use .babelrc.js, compile bundled/non-bundled with loose mode * add back helper, exclude typeof transform
Diffstat (limited to 'build/rollup.config.js')
-rw-r--r--build/rollup.config.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/rollup.config.js b/build/rollup.config.js
index d6eb0cf5d..47e302b78 100644
--- a/build/rollup.config.js
+++ b/build/rollup.config.js
@@ -11,11 +11,9 @@ const plugins = [
babel({
exclude: 'node_modules/**', // only transpile our source code
externalHelpersWhitelist: [ // include only required helpers
- 'typeof',
- 'classCallCheck',
+ 'defineProperties',
'createClass',
- 'inherits',
- 'possibleConstructorReturn'
+ 'inheritsLoose'
]
})
]