How to generate bundle.js file with Webpack

0

I'm learning react, and in the video tutorials I'm watching, it tells you to install the global webpack:

npm i -g webpack

The installation was successful.

Only in the video is created a directory dist with file bundle.js only that in my project these files do not appear. how do I generate them?

  • I do not have the node modules locally
  • I'm using Windows 10

    
asked by anonymous 28.07.2018 / 22:58

0 answers