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