cr0ybot / gulp-wp

A reusable, extendable, updatable Gulp workflow for WordPress themes & plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Migrate blocks task from theme scaffold into gulp-wp

cr0ybot opened this issue · comments

Now that I feel like I've got the blocks task sorted out in the theme scaffold, it should probably be moved into gulp-wp proper.

My only reservations are that it uses a completely separate instance of webpack from the scripts task, but they really are separate domains.

Speaking of webpack, this also includes a pretty rough hack job of the imported webpack config from wp-scripts. I'm wondering how long we can get away with using it directly before having to just use our own clean webpack config with specific parts added. Maybe one day we could use wp-scripts more directly, but I don't think it's in the cards.