-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
I'm building an app that targets only new browsers but when I import JSBI from 'jsbi'
Webpack uses the UMD bundle because the browser
field from package.json
takes precedence over module
field. My understanding was that the browser
field was used only for packages that implement browser-specific code (using browser APIs). Is there a reason why an UMD build is needed these days given how widely used code bundlers are?
This is not a big deal now since the UMD version is only slightly bigger but will become more relevant if #22 gets resolved (UMD build won't work with tree-shaking).
Metadata
Metadata
Assignees
Labels
No labels