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

[heft-sass-plugin] Fix identification of SASS partials on Windows #3673

Merged

Conversation

atingmicrosoft
Copy link

Summary

Current rushstack is causing sass files to load incorrectly in odsp-web. Sass files with title names starting with _ (ex. _Animation.scss) are being excluded because some scss files don't end in '/'. Need to revert to previous version.

Details

Solved problem by reverting the code that checks scss files to previous build.

How it was tested

Tested in odsp-web manually and then came here for fix.

@dmichon-msft dmichon-msft changed the title fixed loading issue for sass files starting with _ [heft-sass-plugin] Fix identification of SASS partials on Windows Oct 5, 2022
@dmichon-msft
Copy link
Contributor

Strictly speaking, the issue is that the recent update assumed that input paths have been normalized to use / as the directory separator. However, in the current version of Heft this is not the case, so the detector for SASS partials broke on Windows.

@iclanton iclanton merged commit 9e51c05 into microsoft:main Oct 5, 2022
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.

None yet

4 participants