mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix(vite): update signature for createIsExternal
This commit is contained in:
parent
59c28d5a5a
commit
686be8168b
@ -229,7 +229,7 @@ export async function initViteDevBundler (ctx: ViteBuildContext, onBuild: () =>
|
|||||||
const viteServer = ctx.ssrServer!
|
const viteServer = ctx.ssrServer!
|
||||||
const options: TransformOptions = {
|
const options: TransformOptions = {
|
||||||
viteServer,
|
viteServer,
|
||||||
isExternal: createIsExternal(viteServer, ctx.nuxt.options.rootDir, ctx.nuxt.options.modulesDir),
|
isExternal: createIsExternal(viteServer, ctx.nuxt),
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build and watch
|
// Build and watch
|
||||||
|
Loading…
Reference in New Issue
Block a user