简体   繁体   中英

How to make a npm package from Create React App /build folder?

I have an app, made in create-react-app boilerplate, that i compile and build using npm run build.

I would like to take the folder /build and create an npm package out of it and publish it so i can use this package in other project as a micro app.

Is it possible? how to do it?

Tnx!!

You may check this this article if you want to make it simple. However, if you want to publish a component or component library than the recommended way is using nwb .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM