webpack-starter-pug-sass-es6-jquery icon indicating copy to clipboard operation
webpack-starter-pug-sass-es6-jquery copied to clipboard

Is there a way to automate adding new pug pages to webpack?

Open ekfuhrmann opened this issue 3 years ago • 2 comments
trafficstars

This is a really nice starter file that mimics a lot of what I'm trying to do; however, coming from a similar Gulp boilerplate I've been using, I can't quite figure out how to properly account for new pug pages within the project. It seems like if I am to add/remove a new page, I need to rebuild webpack each time. Is there any way to automate this process? Adding watch: true, to webpack doesn't seem to solve for the problem.

ekfuhrmann avatar Dec 22 '21 19:12 ekfuhrmann

Hi @ekfuhrmann !

I'll take a look at it later today.

SoldierCorp avatar Dec 22 '21 19:12 SoldierCorp

No rush, just curious if it's possible to have webpack watch for added/removed pug files and just hot update without a rebuild.

ekfuhrmann avatar Dec 22 '21 22:12 ekfuhrmann