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/[email protected]_@[email protected][email protected][email protected][email protected]/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/[email protected]_@[email protected][email protected][email protected][email protected]/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