Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@roots/bud-sass does not include postcss-scss #732

Closed
kellymears opened this issue Nov 29, 2021 · 1 comment · Fixed by #737
Closed

@roots/bud-sass does not include postcss-scss #732

kellymears opened this issue Nov 29, 2021 · 1 comment · Fixed by #737
Assignees
Labels
bug Something isn't working

Comments

@kellymears
Copy link
Contributor

Problem

@roots/bud-sass does not configure postcss' syntax option with postcss-scss

easy workaround for now. add anywhere in bud.config.js:

/**
  * Add postcss-scss syntax
  *
  * @remarks
  * fix for @roots/bud@^5.0.0-next.16. 
  * can be removed in @roots/bud@^5.0.0-next.17.
  *
  * @see {@link https://git.io/JM8ym}
  */
config.tap(bud => {
  const options = bud.build.items.postcss.options(app);
  options.postcssOptions.syntax = 'postcss-scss';
}) 
// ...rest of sage configuration

ref: #731

@kellymears kellymears added the bug Something isn't working label Nov 29, 2021
@kellymears kellymears self-assigned this Nov 29, 2021
@kellymears kellymears linked a pull request Dec 1, 2021 that will close this issue
@kellymears
Copy link
Contributor Author

This seems to still be an issue for me intermittently. The fact that it does not seem to be 100% reproducible leads me to believe it is a race condition caused by extensions loading in an order that doesn't take into account their dependencies.

ref: #779

@kellymears kellymears mentioned this issue Jan 4, 2022
3 tasks
@retlehs retlehs closed this as completed Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants