Reputation: 461
I have a webpack react project. It runs only webpack, but I want to remove the webpack related matter and run as a normal react project.
Upvotes: 0
Views: 118
Reputation: 851
webpack is just a bundler. It bundles all your js files and dump that as string in eval function in one single js file.
I Got your question now. I guess, you mean that you have a react project. Its developed now. And you want only the usefule files now, right? If thats the case, you need only two files(primarily for the project). First you build the project with whatever script you have, I guess, npm run build.
Post that, you will see a dist folder at the root. Inside that dist folder you will find one index.html file and index.js file. Besides this you may want css and assets folder.
Does that answers your concern?
Upvotes: 2