Sage, Bedrock, Trellis @ latest head
Yarn build fails when I create a new folder with an scss file (with some css content) within resources/assets/styles
(for example settings/_settings.scss
)
Error message:
yarn build [15:37:33]
yarn run v1.5.1
$ webpack --progress --config resources/assets/build/webpack.config.js
Error: Failed because of a stylelint error.
at linterSuccess (/local_path/staging.mysite.nl/web/app/themes/mytheme/node_modules/stylelint-webpack-plugin/lib/run-compilation.js:31:14)
at <anonymous>
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c webpack --progress --config resources/assets/build/webpack.config.js
Directory: /local_path/staging.mysite.nl/web/app/themes/mytheme
Output:
".
When the new scss file is completely empty, no build error occurs. Whenever I put some valid css in it (no matter how much or little), the build fails.
It also fails with or without a reference in main.scss to the new scss file.