You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid the default export. It's handled differently between tooling. Only use named exports.
I just wondered how that affects our approach to jQuery source code. Since we plan to expose the ESM files from src/, should we switch them to use named exports as well?
If we switch, this is likely to affect our AMD output published to the amd directory. We can either accept it, or tweak the AMD output or maybe even give up on AMD for individual modules and just bet on ESM here.
Activity
mgol commentedon Jun 23, 2023
Adding the
4.0.0milestone and the Blocker label to ensure we make a decision before the release.timmywil commentedon Jul 10, 2023
Will be using named exports in the
srcfolder.Core: Use named exports in `src/`
Core: Use named exports in `src/`
[-]Use named exports?[/-][+]Use named exports[/+][-]Use named exports[/-][+]Core: Use named exports in `src/`[/+]Core: Use named exports in `src/`
GeoffreyBooth commentedon Sep 14, 2023
https://x.com/kentcdodds/status/1702338292065399179?s=20