enum-values
enum-values copied to clipboard
CommonJS or AMD dependencies can cause optimization bailouts
Angular 10 is now throwing this warning:
WARNING in some.component.ts depends on 'enum-values'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Just wanted to put this on your radar.
See: https://web.dev/commonjs-larger-bundles/
I haven't touched typescript and javascript for 3 years and a lot have changed.
I tried converting the tsconfig.json
to use es6
module system but couldn't make it work due to tests.
It ould be awesome if you'd create a PR with the required changes