question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

also publish a "modern" bundle

See original GitHub issue

Aria-query is currently only publishing the transformed assets to npm. This has 2 issues:

  1. Modern browsers are using transforms when it’s not required
  2. The bundle size is larger than strictly required
  3. This project can not be included in any way when using parcel as bundler. See https://github.com/parcel-bundler/parcel/issues/4692

I believe the project would benefit from having a modern bundle as well.

Looking at the build stack being used, I think using microbundle for building the modern bundles would be a good fit, and easy to implement.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jessebeachcommented, Dec 31, 2020

If my project would be the only reason to make that modern bundle, then please don’t waste your time 🙂. I have it working with parcel 2 (alpha).

It would be 😃 Feel free to propose the PR, though, in the future!

1reaction
jessebeachcommented, Jun 12, 2020

Good suggestion. I’ve never used microbundle. Let me do some research on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Publish, ship, and install modern JavaScript for faster ...
This guide demonstrates how to publish modern packages to npm, and how to install and optimally bundle modern JavaScript packages.
Read more >
How to bundle your library and why - DEV Community ‍ ‍
This article is part 6 of the series "Publish a modern JavaScript (or TypeScript) library". Check out the motivation and links to other ......
Read more >
Calling All Prime Members — Get Your Bundle Now for Call of ...
Amazon Prime members can now get a Bundle free for Vanguard and Warzone. Learn how to claim the reward below. Announcements; Season Two....
Read more >
Expanding Chess Knowledge - Thinkers Publishing
Unconventional Approaches to Modern Chess, Vol. 1 & 2 (bundle). €49.44 €44.49.
Read more >
developit/microbundle: Zero-configuration bundler for ... - GitHub
Modern Mode. In addition to the above formats, Microbundle also outputs a modern bundle specially designed to work in all modern browsers. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found