Bud config for outputting multiple css files (from scss for ACF Blocks)

Hi,

Just have a few question with regards to the updated solution.

  • I am getting an error with import {basename, join} from 'node:path'; . The error is Error parsing bud.config: require is not defined in ES module scope, you can use import instead .
  • I’ve installed @roots/bud-support via yarn in dev and tried running yarn build, but the error message this time too is TypeError: The 'compilation' argument must be an instance of Compilation....

I am in the same position as OP moving from laravel mix to bud and the config file does require a bit of tinkering to output multiple CSS from SCSS. Any advice is appreciated!