/webpack-101-starter

All files from the Webpack 2 YouTube tutorials.

Primary LanguageJavaScript

Webpack 2 - Starter Files

Learn how to setup Webpack 2 from scratch, by following the complete playlist on YouTube.

Webpack 2 Playlist

Watch on YouTube

Webpack 2 Tutorials

How to use the files?

  1. Clone this repo
  2. Run npm install to install all the dependencies
  3. Run npm run dev
  4. New browser window should open with a green text on pink background.

Don't forget to subscribe to my channel for more front-end videos.

Are you getting localhost:8080/undefined ?

As Mikael-Sundstrom pointed out, you can solve it by adding this to your config.

devServer: {
    open: true,
    openPage: '', //add this to solve it
}