mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: babel polyfil can not be disabled (#6021)
This commit is contained in:
parent
efd242ad35
commit
a56817f2f8
@ -129,7 +129,7 @@ module.exports = (context, options = {}) => {
|
||||
// Transform runtime, but only for helpers
|
||||
plugins.push([require('@babel/plugin-transform-runtime'), {
|
||||
regenerator: useBuiltIns !== 'usage',
|
||||
corejs: useBuiltIns !== false ? false : corejs,
|
||||
corejs: false,
|
||||
helpers: useBuiltIns === 'usage',
|
||||
useESModules: buildTarget !== 'server',
|
||||
absoluteRuntime
|
||||
|
Loading…
Reference in New Issue
Block a user