ahmadawais / WPGulp

An advanced Gulp workflow for WordPress development with extensive documentation. Used by 40,000+ themes and plugins.
https://twitter.com/MrAhmadAwais/
MIT License
1.76k stars 303 forks source link

Adjust WPGulp workflow for modern Gutenberg theme development #185

Open seanrasmussen opened 4 years ago

seanrasmussen commented 4 years ago

I love the ease of use of WPGulp. But the assumptions about typical usage seem to be a bit outdated now. A single monolithic CSS and single JS file aren't really best practice any more. But, aside from that design decision, adding an editor style sheet for Gutenberg, using Sass partials is not part of workflow. It means I have to jerry-rig another solution to create my editor styles from the Sass partials.

I'd like to be able to generate a Gutenberg editor styles sheet based on some initial configuration that is spelled out clearly in the WPGulp documentation.

isvictorious commented 3 years ago

@seanrasmussen have you seen this Issue? If you read the PR it's the exact solution you're looking for https://github.com/ahmadawais/WPGulp/issues/103

seanrasmussen commented 3 years ago

Thanks @isvictorious ... I'll take a look at that...