1
I’m learning React, and in the videos-classes I’m seeing, he has the global webpack installed:
npm i -g webpack
was successfully installed.
only in the video is created a directory dist
archived bundle.js
only that in my project these files do not appear. how do I generate them?
- I don’t have Node modules locally and I’m using Windows 10
you need to have the webpack declared in your package.json and create a file called webpack.config.js where the webpack settings for your project will be.
– Emerson Vieira