mix.pug('src/views/**/*.pug', 'dist', {
excludePath: 'src/views',
pug: {
pretty: true,
debug: true
}
})
"laravel-mix-pug": "^0.3.0"
mix.pug = require("laravel-mix-pug");
mix.pug("public/*.pug", "./", {
pug: {
pretty: true
}
})