Skip to content

feat: automatically provide imports object using import map#11

Merged
pi0 merged 11 commits into
mainfrom
feat/imports-map
Jan 4, 2024
Merged

feat: automatically provide imports object using import map#11
pi0 merged 11 commits into
mainfrom
feat/imports-map

Conversation

@pi0

@pi0 pi0 commented Jan 4, 2024

Copy link
Copy Markdown
Member

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Resolves #10

This PR eliminates the need for users to directly pass import objects.

Using imports map, we directly guide rollup to bundle the imports object into the binding.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codecov

codecov Bot commented Jan 4, 2024

Copy link
Copy Markdown

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (b06f6f3) 95.27% compared to head (59c24a2) 92.25%.

❗ Current head 59c24a2 differs from pull request most recent head 30ba936. Consider uploading reports for the commit 30ba936 to get more accurate results

Files Patch % Lines
src/plugin/runtime.ts 95.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   95.27%   92.25%   -3.02%     
==========================================
  Files           6        6              
  Lines         423      478      +55     
  Branches       48       51       +3     
==========================================
+ Hits          403      441      +38     
- Misses         19       36      +17     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pi0 pi0 marked this pull request as ready for review January 4, 2024 12:42
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.

Use import maps

1 participant