mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
chore(nitro): opt in to makeAbsoluteExternalsRelative: 'ifRelativeSource'
This commit is contained in:
parent
f8cb2586cf
commit
bf0132f3e1
@ -102,6 +102,8 @@ export const getRollupConfig = (nitroContext: NitroContext) => {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
external: env.external,
|
external: env.external,
|
||||||
|
// https://github.com/rollup/rollup/pull/4021#issuecomment-809985618
|
||||||
|
makeAbsoluteExternalsRelative: 'ifRelativeSource',
|
||||||
plugins: [],
|
plugins: [],
|
||||||
onwarn (warning, rollupWarn) {
|
onwarn (warning, rollupWarn) {
|
||||||
if (!['CIRCULAR_DEPENDENCY', 'EVAL'].includes(warning.code)) {
|
if (!['CIRCULAR_DEPENDENCY', 'EVAL'].includes(warning.code)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user