I'm trying to create a environment using Webpack with a techstack based on:
- pug, for template HTML
- sass, for CSS
- ES7
But I'm having issues creating pug HTML files.
Here's a gist with my webpack.config.js file https://gist.github.com/anonymous/84c02222a44ce219c35ff1a8beeff720
What exactly I'm trying to achieve:
I have a folder structure based on
- app
./pug
./components, ./views
And what I want to do is compile every pug file on views' folder and turn it into a HTML and send it to dist folder.
You guys can help me, please?
Thanks.