This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Travis Hamilton-CT
I built a simple Next.js app and want to publish it into npm package so we can reuse it in any other Next.js app.
I have npm user and published myself but failed.
It seems I had issue because of configuration of Webpack and Babel.
Next.js app is built with Typescript.
How can I make this successful?
It will be great if you share with me a public blog or documentation.
This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Travis Hamilton-CT

Travis Hamilton-CT | Sciencx (2022-10-27T13:59:46+00:00) How to publish my Next.js app into npm package. Retrieved from https://www.scien.cx/2022/10/27/how-to-publish-my-next-js-app-into-npm-package/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.