Hey thanks for all the hard work getting sage 10 + bud + acorn out the door really impressive!
I might be going about this all wrong? Hoping someone can point me in the right direction.
How would I add a directory of scss files to the Bud config to compile into separate CSS files (that will be enqueued by ACF Composer)? In pre-bud sage we have this in our Mix config:
// webpack.mix.js
const glob = require('glob');
...
// Export individual custom ACF Block .css files
glob.sync('resources/styles/blocks/custom/**/[^_]*.scss').forEach((file) => {
mix.sass(file, 'styles/blocks');
});
...
// app/Blocks/ExampleBlock.php
...
public function enqueue() {
wp_enqueue_style('sage/example-block.css', asset('styles/blocks/example-block.css')->uri(), false, null);
}
Any help/pointers very much appreciated!