Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ECMAScript modules instead of CommonJS modules #100

Open
silvioboehme opened this issue Jun 26, 2020 · 2 comments
Open

Use ECMAScript modules instead of CommonJS modules #100

silvioboehme opened this issue Jun 26, 2020 · 2 comments

Comments

@silvioboehme
Copy link

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/).

@weichx
Copy link
Owner

weichx commented Jun 26, 2020

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.

@rallets
Copy link

rallets commented Aug 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants