cerialize
cerialize copied to clipboard
Use ECMAScript modules instead of CommonJS modules
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/).
It's been 3 years since I've written any JS and I'm completely out of touch with how all this new stuff works. Id be happy to accept a PR if you'd like to make one but I don't plan any further development on this library for the time being.
Hi, I got also the same warning building Angular 10: WARNING in C:[...]\filename.ts depends on 'cerialize'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
I could help to convert to ECMAScript, but I need some guidance. There is someone who could help? @silvioboehme