Is there any way to create NPM package without disrupting the Next.js 14 folder structure

111 views Asked by At

Is there any way to create NPM package without disrupting the Next.js 14 folder structure. I am going create NPM package that uses Next.js 14 and their folder structure. I have installed using npx create-next-app@latest.

I created NPM package using npm link and imported in another Next.js project but it didn't work for me. I am finding solution that uses Next.js bundler and configuration to export modules or whole folder.

0

There are 0 answers