From d3d33879780b169e9b8a253cec8e14f1001c871c Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:26:04 +0600 Subject: [PATCH] fix(custom): avoid importing server files --- src/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.ts b/src/module.ts index 1f7f600..8bbb6e2 100644 --- a/src/module.ts +++ b/src/module.ts @@ -86,7 +86,7 @@ export default defineNuxtModule({ // 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 || {},