fix(vite): update signature for createIsExternal

This commit is contained in:
Daniel Roe 2024-11-02 23:20:04 +00:00
parent 59c28d5a5a
commit 686be8168b
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -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