fix(nitro): absolute external resolution (#80)

This commit is contained in:
Pooya Parsa 2021-04-12 23:52:46 +02:00
parent 6e07ff1b92
commit 9a23c2a553

View File

@ -44,8 +44,8 @@ export function externals (opts: NodeExternalsOptions): Plugin {
} catch (_err) { }
return {
id: isAbsolute(id) ? relative(opts.outDir, id) : id,
external: true
id,
external: 'absolute'
}
},
async buildEnd () {