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

Fix sass_binary target build with "npm_sass_library" as external npm sass dependency #641

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jun 6, 2023

Fix sass_binary target build with "npm_sass_library" as external npm sass dependency

As we upgraded to angular v14 now, and switched to use @use based angular material sass API, we changed the sass_binary dependency from the _theming.scss stylesheet to @angular/material, so updating the dependency accordingly should fix the build error of "Cannot find stylesheet to import - @use '@angular/material' as mat".

stackoverflow discussion

…sass dependency

As we upgraded to angular v14 now, and switched to use @use based angular material sass API, we changed the sass_binary dependency from the [_theming.scss](bazelbuild/rules_sass#98) stylesheet to @angular/material, so updating the dependency accordingly should fix the build error of "Cannot find stylesheet to import - @use '@angular/material' as mat".

[stackoverflow discussion](https://stackoverflow.com/questions/70836279/integrate-material-ui-into-angular-bazel-project)

PiperOrigin-RevId: 538314806
@copybara-service copybara-service bot merged commit f8ff528 into master Jun 6, 2023
@copybara-service copybara-service bot deleted the test_538294719 branch June 6, 2023 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant