Babel 7 (#23966)
* use .babelrc.js, compile bundled/non-bundled with loose mode * add back helper, exclude typeof transform
This commit is contained in:
parent
5cec8e0de6
commit
f17b165f0f
5 changed files with 1633 additions and 630 deletions
|
|
@ -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'
|
||||
]
|
||||
})
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue