mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: SyntaxError Unexpected token export in importing babel runtime helper (#5401)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com> [release]
This commit is contained in:
parent
04ddcac4f9
commit
3b85dd97fc
@ -106,7 +106,7 @@ module.exports = (context, options = {}) => {
|
||||
regenerator: useBuiltIns !== 'usage',
|
||||
corejs: useBuiltIns !== false ? false : corejs,
|
||||
helpers: useBuiltIns === 'usage',
|
||||
useESModules: true,
|
||||
useESModules: buildTarget !== 'server',
|
||||
absoluteRuntime
|
||||
}])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user