The styles task is currently set up to output CSS files with paths relative to the srcBase. If a project customizes styles.entries to include a deeper glob path, it just works, for example:
Here, the styles at src/styles/blocks/core/foo.scss are output to dist/css/blocks/core/foo.css as expected, but the script at src/scripts/blocks/core/foo/script.js is output as dist/js/script.js, potentially interfering with a file located at src/js/script.js.
The
styles
task is currently set up to output CSS files with paths relative to thesrcBase
. If a project customizesstyles.entries
to include a deeper glob path, it just works, for example:Here, the styles at
src/styles/blocks/core/foo.scss
are output todist/css/blocks/core/foo.css
as expected, but the script atsrc/scripts/blocks/core/foo/script.js
is output asdist/js/script.js
, potentially interfering with a file located atsrc/js/script.js
.