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: support for conditional exports in sass's pkg #400

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

wkillerud
Copy link
Contributor

Hello, and thanks for landing the support for pkg: imports in Sass ❤️

I was made aware in wkillerud/some-sass#184 that the link resolution doesn't work as expected for the sass-true package. Turns out there was a variant of "exports" I didn't handle in the initial PR.

This PR adds a test case for this format of "exports" and updates the "dotExport" to be "rootExport", handling this as a fallback if no "exports": { ".": /* ... */ } exists.

@aeschli aeschli enabled auto-merge August 26, 2024 15:12
@aeschli aeschli added this to the August 2024 milestone Aug 26, 2024
@aeschli aeschli merged commit e18433a into microsoft:main Aug 26, 2024
4 checks passed
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.

3 participants