mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
chore: expose absoluteRuntime
This commit is contained in:
parent
5c17bc856e
commit
be4cee84bf
@ -46,7 +46,8 @@ module.exports = (context, options = {}) => {
|
||||
shippedProposals,
|
||||
forceAllTransforms,
|
||||
decoratorsBeforeExport,
|
||||
decoratorsLegacy
|
||||
decoratorsLegacy,
|
||||
absoluteRuntime
|
||||
} = options
|
||||
|
||||
let { targets } = options
|
||||
@ -108,7 +109,7 @@ module.exports = (context, options = {}) => {
|
||||
corejs: useBuiltIns !== false ? false : corejs,
|
||||
helpers: useBuiltIns === 'usage',
|
||||
useESModules: true,
|
||||
absoluteRuntime: path.dirname(require.resolve('@babel/runtime/package.json'))
|
||||
absoluteRuntime
|
||||
}])
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user