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 ESModules instead of module.exports #71

Open
iva2k opened this issue Sep 20, 2021 · 1 comment
Open

Use ESModules instead of module.exports #71

iva2k opened this issue Sep 20, 2021 · 1 comment

Comments

@iva2k
Copy link

iva2k commented Sep 20, 2021

Using ulog in Angular triggers this warning:

Warning: .\src\app\app.module.ts depends on 'ulog'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

'debug' seems to be adding ESModules to v5

debug-js/debug#786

@Download
Copy link
Owner

I'd be open to it. If you can provide guidance on how to do it, please consider opening a PR with a proof of concept.

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

2 participants