unsourced-dev / insights-js

The javascript client for Getinsights
https://getinsights.io
MIT License
26 stars 2 forks source link

Export an es2018/esnext build #1

Closed NotWoods closed 4 years ago

NotWoods commented 4 years ago

Some of my apps target newer browsers and I'd like to ship less code, using features like classes. I'd like a file in the dist/ folder that is in JS but keeps the modern ES2015+ syntax.

Mytrill commented 4 years ago

Hi, I just added the esnext build in https://github.com/getinsights/insights-js/commit/38981b910e4247268c919943ac1c3a01213d23d0 and published version 1.2.10 to npm.

The entry is in dist/esnext/index.js.

Let me know if there are any issues with this.