mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +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