Pug plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in Pug.