This is my boilerplate that I use in my regular workflow for a webpack dev server for a automatic and real-time compiling
MIT License
This is my boilerplate that I use in my regular workflow for a webpack dev server for a automatic and real-time compiling
.
├── config
│ ├── webpack.common
│ ├── webpack.dev
│ └── webpack.prod
├── src
│ ├── assets
│ | ├── fonts
│ | └── images
│ ├── js
│ ├── pug
│ | ├── base
│ | ├── partials
│ | └── pages
│ ├── styles
│ | ├── base
│ | ├── components
│ | ├── layouts
│ | ├── pages
│ | └── styles
├── README.md
└── package.json
All files are in the src folder, it includes assest, css, images, js, sass and pug folders.
The file in config folder are webpack 5.x config setting, to handle Pug + Sass into HTML files.
You can clone this repo or fork it.
If you fork it, when you create a new repo select this as starting template