peterszombati / xapi-node

xStation5 Trading API for NodeJS/JS
https://peterszombati.github.io/xapi-node/
Other
58 stars 19 forks source link

Publish the npm package as UMD #23

Closed solarfrantz closed 2 years ago

solarfrantz commented 3 years ago

As you already know I'm using this in a frontend app using Angular and I have this warning:

Warning: some-angular-component.ts depends on 'xapi-node'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

TLTR: Tree shaking might not work as expected