mirror of https://github.com/twbs/bootstrap.git
Update Babel config (#31011)
* remove plugin-proposal-object-rest-spread * add bugfixes * `exclude: ['transform-typeof-symbol']` did nothing with our config
This commit is contained in:
parent
acdeaed47d
commit
22f32415c0
|
@ -4,12 +4,9 @@ module.exports = {
|
||||||
'@babel/preset-env',
|
'@babel/preset-env',
|
||||||
{
|
{
|
||||||
loose: true,
|
loose: true,
|
||||||
modules: false,
|
bugfixes: true,
|
||||||
exclude: ['transform-typeof-symbol']
|
modules: false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
|
||||||
plugins: [
|
|
||||||
'@babel/plugin-proposal-object-rest-spread'
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
|
@ -94,7 +94,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.10.3",
|
"@babel/cli": "^7.10.3",
|
||||||
"@babel/core": "^7.10.3",
|
"@babel/core": "^7.10.3",
|
||||||
"@babel/plugin-proposal-object-rest-spread": "^7.10.3",
|
|
||||||
"@babel/preset-env": "^7.10.3",
|
"@babel/preset-env": "^7.10.3",
|
||||||
"@rollup/plugin-babel": "^5.0.4",
|
"@rollup/plugin-babel": "^5.0.4",
|
||||||
"@rollup/plugin-commonjs": "^13.0.0",
|
"@rollup/plugin-commonjs": "^13.0.0",
|
||||||
|
|
Loading…
Reference in New Issue