aeternity / aepp-calldata-js

Aeternity data serialization library
ISC License
3 stars 4 forks source link

Consider providing a build using es6 imports/exports #194

Open davidyuk opened 1 year ago

davidyuk commented 1 year ago

Currently not very actual, but already some of the functionality is optional, so can be not used in specific cases, and would be good to be able to tree shake it. Tree shaking in webpack only works with es modules.

.mjs modules work natively in nodejs since 14 (the oldest maintainable version).

dincho commented 1 year ago

I did some experiments on this long time ago but there was some blockers I had hit.

I should re-try perhaps and document the blockers if it's still the case