fix(nitro): set makeAbsoluteExternalsRelative to false (resolves #160)

This commit is contained in:
Pooya Parsa 2021-05-24 13:21:37 +02:00
parent 838eae4a57
commit a82e7b9008

View File

@ -104,7 +104,8 @@ export const getRollupConfig = (nitroContext: NitroContext) => {
}, },
external: env.external, external: env.external,
// https://github.com/rollup/rollup/pull/4021#issuecomment-809985618 // https://github.com/rollup/rollup/pull/4021#issuecomment-809985618
makeAbsoluteExternalsRelative: 'ifRelativeSource', // https://github.com/nuxt/framework/issues/160
makeAbsoluteExternalsRelative: false,
plugins: [], plugins: [],
onwarn (warning, rollupWarn) { onwarn (warning, rollupWarn) {
if ( if (