Webpack 5 configuration for Single or Multipage websites using Pug, Tailwind CSS, PostCSS, Babel and Browsersync.
Features:
- Webpack 5
- Tailwind CSS
- 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.