Closed jedrzejchalubek closed 4 years ago
What are you gonna use as the module bundler instead?
@austinpray Rollup.js. In our case, it will produce a smaller bundle files.
You think you'll bring Gulp into the parent theme only? ...similar to how you structured the current version (with Webpack) where the child theme was left alone
Just to add to this - i would love this feature. I've been using Gulp in some other WordPress projects, and it's so much faster than Webpack.
I vote to keep webpack as these days most of the frameworks I use, are using webpack. Gulp is great but I don't see that toolset being used much anymore, in my experience, my 2 cents.
Some time has passed and I agree.
I’ve been using a ton of Laravel Mix lately on themes and WordPress plugins. This could possibly be integrated and reduce additional files as well.
On 25 Dec 2019, at 07:43, Mike Sacchetti notifications@github.com wrote:
I vote to keep webpack as these days most of the frameworks I use, are using webpack. Gulp is great but I don't see that toolset being used much anymore, in my experience, my 2 cents.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
why not getting rid of gulp and use node tools (sass, notify) and rollup under the hood for bundling scripts? What are the advantage of gulp?
We will stick to the Webpack 😄
There are a lot of small issues when using Webpack primary as task runner. It will be more reliable to use Gulp and bring builder configuration from our other boilerplates: https://github.com/tonik/html-frontend-boilerplate