Webpack 5 configuration for Single or Multipage websites using Pug, Sass, PostCSS, Babel and Browsersync.
Features:
- Webpack 5
- Sass
- Pug
- PostCSS
- Babel
- JS and CSS minification
- Browsersync for live reload
- Clone the respository and install the dependencies using npm or yarn.
- Run
npm run start
to start the development server. This will open the site in localhost:3000. - Run
npm run build
to create a production build. This will build the output under thedist
folder by default.