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

Support fetch priority with import maps #2477

Merged
merged 1 commit into from Jan 7, 2024

Conversation

erikt9
Copy link
Contributor

@erikt9 erikt9 commented Jan 5, 2024

Fixes #2478

Invoke like:
<script type="system-js-importmap" src="https://import_map_url" fetchpriority="high">

Copy link

github-actions bot commented Jan 5, 2024

File size impact

Merging import_map_fetch_priority into main will impact 3 files in 2 groups.

browser (2/2)
File raw gzip brotli Event
dist/s.min.js +25 (7,907) +10 (3,133) +12 (2,845) modified
dist/system.min.js +25 (12,256) +13 (4,744) +10 (4,272) modified
Total size impact +50 (20,163) +23 (7,877) +22 (7,117)
node (1/1)
File raw gzip brotli Event
dist/system-node.cjs +32 (521,949) +11 (126,136) +28 (84,951) modified
Total size impact +32 (521,949) +11 (126,136) +28 (84,951)
extras (0/8)

No impact on files in extras group.

Generated by file size impact during size-impact#7417913891

@guybedford guybedford merged commit 3a5f73f into systemjs:main Jan 7, 2024
2 checks passed
@guybedford
Copy link
Member

Thanks, looks great!

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 fetchPriority with external import maps
2 participants