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
Hi, this library looks really useful and we would like to use it at Unsplash!
However it seems that the npm module only provides CommonJS modules. Would it be possible to distribute ES Modules as well, so we can benefit from tree shaking which will help to reduce our bundle size?
The text was updated successfully, but these errors were encountered:
while, I think, this is not a proper solution and relies on intricacies of the folder structure, which potentially can change.
.
P.S: I don't know how to config ESM build output using Nx (current build tool), but if someone wants to champion this, I have a tsc based build system that targets multiple output module types.
Hi, this library looks really useful and we would like to use it at Unsplash!
However it seems that the npm module only provides CommonJS modules. Would it be possible to distribute ES Modules as well, so we can benefit from tree shaking which will help to reduce our bundle size?
The text was updated successfully, but these errors were encountered: