Skip to content

fix: pass through project root to Sass and Less #164

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

Merged
merged 3 commits into from
Dec 4, 2022

Conversation

falahati
Copy link
Contributor

fixes an issue with scss and less files not respecting the project's root directory when importing other files by passing the ts root directory information to the renderer.

Should fix #146

  • less fix is tested on my local machine.
  • scss fix is untested.
  • This commit does not add any new test for this feature, but old tests are fixed

…tory of them project when importing other files
@mrmckeb mrmckeb changed the title Fixes absolute paths for scss and less files fix: pass through project root to Sass and Less Dec 4, 2022
@mrmckeb mrmckeb merged commit fb79442 into mrmckeb:main Dec 4, 2022
@smalandrey67
Copy link

I'm still have a problem with this. I tried to import an variables file into my scss module. Import look like this @import "@/styles/variables". This cause the error.

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.

using @include in CSS will cause classes to be an empty object
3 participants