ordercloud-api / ngx-shopper

Open-source B2B e-commerce. Built with the OrderCloud.io API and maintained by the OrderCloud team
MIT License
9 stars 22 forks source link

implement treeshakeable providers introduced in angular v6 #298 #300

Closed crhistianramirez closed 5 years ago

crhistianramirez commented 5 years ago

Description

Check this out for more info: https://blog.ninja-squad.com/2018/05/04/what-is-new-angular-6/

With this PR all of our app services along with services from the ordercloud sdk will be tree-shakeable. Meaning if they aren't used in the code they won't be part of the final outputted bundle which means smaller bundle size!

Apart from this we get a couple of other sweet benefits:

For Reference #298

Type of change

Checklist: