How to use webpack to compile a few pug/jade files into one html?

Begin to develop webpack and is now quite acutely the question arose about what would be from the heap of small files .pug to collect static page page.html
If this task easier and more correctly performed by using another tool, I will be glad for pointing this out :)
July 2nd 19 at 13:40
1 answer
July 2nd 19 at 13:42
Create index.pug and include there all of your partial. And miss index.pug using this plugin https://github.com/webpack/extract-text-webpack-plugin

Find more questions by tags PugHTMLWebpack