1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-23 13:43:11 +02:00
* use .babelrc.js, compile bundled/non-bundled with loose mode

* add back helper, exclude typeof transform
This commit is contained in:
Henry Zhu
2017-09-17 02:40:48 -04:00
committed by Johann-S
parent 5cec8e0de6
commit f17b165f0f
5 changed files with 1633 additions and 630 deletions

View File

@@ -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'
]
})
]