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

feat: support css module scripts & import assertions #154

Merged
merged 1 commit into from Aug 19, 2021
Merged

Conversation

guybedford
Copy link
Owner

This adds support for polyfilling CSS module scripts, as well as the careful feature detection to only polyfill CSS modules as necessary by including a feature detection and only triggering the polyfill when there is CSS in the specific subgraph (unless in shim mode as per usual operation).

Support is also included for normalizing URLs in the stylesheet to be relative to the loaded stylesheet URL as per the spec.

Import assertions still do not actually perform the assertion in this project for now, although that may change in future.

@guybedford guybedford merged commit 5af7c52 into main Aug 19, 2021
@guybedford guybedford deleted the css-modules branch August 19, 2021 20:13
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

1 participant