Closed levipadre closed 3 years ago
Actually I created a pull request here: https://github.com/moyus/laravel-mix-nunjucks/pull/6
Hi, can I expect this fixture?
Looks the performance optimization cause this problem, I will do some research to get a better way to resolve your problem in this weekend.
Fixed in v1.1.0
I'm using a html minification plugin
minify-html-webpack-plugin
as well, but unfortunately it couldn't minify the generated html files because laravel-mix-nunjucks haven't finsihed the process yet. We digged into the code, and noticed that in RenderNunjucksTask.js there is a this.renderAll = debounce(this.renderAll) which causes the delay. So by modifying these lines it started to work:and remogin async and await
Can I have a change request for this or any other solution?