tonik / theme

Tonik is a WordPress Starter Theme which aims to modernize, organize and enhance some aspects of WordPress theme development.
http://labs.tonik.pl/theme/
MIT License
1.33k stars 140 forks source link

Migrate to Gulp instead of Webpack #83

Closed jedrzejchalubek closed 4 years ago

jedrzejchalubek commented 5 years ago

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

austinpray commented 5 years ago

What are you gonna use as the module bundler instead?

jedrzejchalubek commented 5 years ago

@austinpray Rollup.js. In our case, it will produce a smaller bundle files.

sushidub commented 5 years ago

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

multiplehats commented 5 years ago

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.

msacchetti commented 4 years ago

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.

multiplehats commented 4 years ago

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.

rybkowskigrzegorz commented 4 years ago

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?

jedrzejchalubek commented 4 years ago

We will stick to the Webpack 😄