camsong / fetch-jsonp

Make JSONP request like window.fetch
998 stars 156 forks source link

Provide an esm version #69

Open awerlang opened 1 year ago

awerlang commented 1 year ago

Currently the only supported module format is UMD. Unfortunately this adds a few paths that might be unexpected for a bundled ESM app.

Can we have a build in ESM module format in addition to the current UMD format? An ESM module should be declared in package.json in attribute module.

camsong commented 1 year ago

Thanks for your issue, PR is welcomed.