You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, building an Angular project with the latest version 10.0.7 I got this warning message
WARNING in C:[...]\filename.ts depends on 'deep-object-diff'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Is there any chance this library to be convert to ECMAScript modules? This will allow for a greater bundle size optimization at build time for apps that uses webpack or similar minifiers (https://web.dev/commonjs-larger-bundles/).
Thanks
The text was updated successfully, but these errors were encountered:
Sorry to come to so long after you raised the issue @rallets!
I've just played with publishing the module with ES module support - would be great if you (or anyone) could confirm it's working. Should be available in v1.1.5
Hi @mattphillips, great to hear you published a new version.
Unfortunately I'm not working anymore on that project, so I don't have access to the source code to test it's working as it should.
Hi, building an Angular project with the latest version 10.0.7 I got this warning message
WARNING in C:[...]\filename.ts depends on 'deep-object-diff'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Is there any chance this library to be convert to ECMAScript modules? This will allow for a greater bundle size optimization at build time for apps that uses webpack or similar minifiers (https://web.dev/commonjs-larger-bundles/).
Thanks
The text was updated successfully, but these errors were encountered: