This is a simple boilerplate for using webpack 4 with pug and POSTCSS to build multi-page website.
Time to time you need to build a not SPA web application but triditional multiple page website. But you still need toolkit such as Webpack, Babel (to use js advanced goodies like ES6/ES7) and so on. So I build this boilerplate that helps to kick off a new project for anyone ๐
- webpack 4: JavaScript module bundler
- babel 7: Use next generation JavaScript today
- postcss: A tool for transforming styles
- eslint: The pluggable linting utility for JavaScript and JSX
build/ codes related to building and dev-server
src/
|- assets/ assets (optional)
|- css/ stylesheets of an app
|- pages/ folder contains pages for the project
| |- index.html html page
| |- index.js entry point for this page