Update to babel beta 5
This commit is contained in:
parent
fc9967e175
commit
83fd91cdf8
3 changed files with 752 additions and 1031 deletions
|
|
@ -1,16 +1,15 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
[
|
||||
'env',
|
||||
'@babel/env',
|
||||
{
|
||||
loose: true,
|
||||
modules: false,
|
||||
exclude: ['transform-es2015-typeof-symbol']
|
||||
exclude: ['transform-typeof-symbol']
|
||||
}
|
||||
]
|
||||
],
|
||||
plugins: [
|
||||
process.env.ROLLUP && 'external-helpers',
|
||||
process.env.PLUGINS && 'transform-es2015-modules-strip'
|
||||
].filter(Boolean)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue