cr0ybot / gulp-wp

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate asset files for stylesheets

cr0ybot opened this issue · comments

Only script files are run through Webpack with the @wordpress/scripts config, which includes PHP asset file generation for enqueuing the scripts with a generated version hash and dependency array. I don't think we need to come up with a way to build a dependency array automatically for stylesheets, but an asset file with a version hash would be useful for enqueuing.