metalice
metalice

Reputation: 1031

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!!

Upvotes: 7

Views: 5839

Answers (1)

Andrei  Belokopytov
Andrei Belokopytov

Reputation: 1081

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.

Upvotes: 2

Related Questions