fregante/image-promise

Provide ES Module version via "module" field

Closed this issue · 1 comments

niksy commented

This package is shipped if ES Modules version (image-promise.es-modules.js) but it isn’t referenced anywhere so bundling tools like Webpack assume that only Common JS version is available since it’s references in main field. Would you consider adding module filed which references ES Modules version? I can make PR for this!

This is intentional
db3250f
webpack/webpack#4742