mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
fix(babel): enable polyfilling of proposal supported by core-js (#8545)
This commit is contained in:
parent
b4663d2bfb
commit
0bc9d249c3
@ -87,6 +87,10 @@ module.exports = (api, options = {}) => {
|
||||
corejs = { version: Number(corejs) }
|
||||
}
|
||||
|
||||
if (corejs.proposals === undefined) {
|
||||
corejs.proposals = true
|
||||
}
|
||||
|
||||
const defaultTargets = {
|
||||
server: { node: 'current' },
|
||||
client: { ie: 9 },
|
||||
|
Loading…
Reference in New Issue
Block a user