Gus
Gus
NNuxt
Created by Gus on 1/30/2025 in #❓・help
Add a Nuxt module on top of an existing vue plugin library (without the official module-builder)
@kapa.ai the problem is that when I try to build it with a regular vite setup, it just fails with the following:
> vite build && tsc --emitDeclarationOnly
x Build failed in 146ms
error during build:
[commonjs--resolver] Missing "#build/nuxt.config.mjs" specifier in "nuxt" package
at e (.pnpm/vite@6.0.7_@types+node@22.10.5_jiti@2.4.2_terser@5.37.0_yaml@2.7.0/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:15287:25)
> vite build && tsc --emitDeclarationOnly
x Build failed in 146ms
error during build:
[commonjs--resolver] Missing "#build/nuxt.config.mjs" specifier in "nuxt" package
at e (.pnpm/vite@6.0.7_@types+node@22.10.5_jiti@2.4.2_terser@5.37.0_yaml@2.7.0/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:15287:25)
It seems to me that it happens because if the import from nuxt/app
11 replies
NNuxt
Created by Gus on 1/30/2025 in #❓・help
Add a Nuxt module on top of an existing vue plugin library (without the official module-builder)
I tried that already but it doesn't build =/
11 replies