Skip to content

Commit

Permalink
fix(custom): avoid importing server files
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-arch committed Dec 10, 2024
1 parent a2b3728 commit d3d3387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default defineNuxtModule<PrismaExtendedModule>({

// Auto-import from runtime/server/utils
addServerImportsDir(resolver(runtimeDir, "utils"));
addServerImportsDir(resolver(runtimeDir, "server/utils"));
// addServerImportsDir(resolver(runtimeDir, "server/utils"));

nuxt.options.vite.optimizeDeps = defu(
nuxt.options.vite.optimizeDeps || {},
Expand Down

0 comments on commit d3d3387

Please sign in to comment.