A basic webpack 3 boilerplate for beginners to start with any JS/ES6 based project.
This basic boilerplate is the final output of this comprehensive write up on Medium. I recommend to read this article to know the insight of how you can configure webpack from scratch.
Webpack 3 quickstarter: Configure webpack from scratch
npm install
- Run
npm run dev
- In your browser, navigate to: http://localhost:2000/
npm run build
npm run build:prod
- babel-loader
- html-loader
- sass-loader
- css-loader
- style-loader
- file-loader
- clean-webpack-plugin
- extract-text-webpack-plugin
- html-webpack-plugin