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

Sass enhancement #101

Merged
merged 10 commits into from
May 29, 2022
Merged

Sass enhancement #101

merged 10 commits into from
May 29, 2022

Conversation

ntt261298
Copy link
Collaborator

@ntt261298 ntt261298 commented May 3, 2022

Related issues

Features

  • Support loadPaths for SASS: Now we can add custom directories to indicate where SASS should lookup to resolve the absolute imports
  • Support import ~ for SASS: Now jest-preview can load SASS resources if the project is using tilde imports for SASS
  • Add example of load paths and import ~ for Vite
  • Add example of load paths and import ~ for CRA
  • Update website

Todo

@netlify
Copy link

netlify bot commented May 3, 2022

Deploy Preview for jest-preview-library canceled.

Name Link
🔨 Latest commit 5aeae73
🔍 Latest deploy log https://app.netlify.com/sites/jest-preview-library/deploys/62911272e3b60a0008ddf7d1

src/constants.ts Outdated Show resolved Hide resolved
@ntt261298 ntt261298 force-pushed the sass-enhancement branch 2 times, most recently from b6e4153 to 2d68857 Compare May 4, 2022 15:30
@nvh95 nvh95 linked an issue May 4, 2022 that may be closed by this pull request
Copy link
Owner

@nvh95 nvh95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ntt261298 I think this PR is good for now. Can you help to update the docs so we can merge this PR. The update on website is optional, I can help with that if you want.

And please help to rebase this PR after #102 get merged.

Please update the PR description to add any of your concerns that we should handle in the future PR (global externalCSS ~?)

@nvh95 nvh95 mentioned this pull request May 22, 2022
9 tasks
@nvh95
Copy link
Owner

nvh95 commented May 26, 2022

@ntt261298 I think we should try to close this PR soon. Thanks.

@ntt261298 ntt261298 marked this pull request as ready for review May 27, 2022 16:08
@nvh95 nvh95 linked an issue May 27, 2022 that may be closed by this pull request
@nvh95
Copy link
Owner

nvh95 commented May 27, 2022

@ntt261298 I published v0.2.4-alpha.0
Let's do some testing on a real project before we roll out 0.2.4.

@nvh95 nvh95 merged commit b55fe71 into main May 29, 2022
@nvh95 nvh95 deleted the sass-enhancement branch May 29, 2022 15:02
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.

Support loadPath and import ~ for Sass
2 participants