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

ESM support #425

Open
datzgit opened this issue Sep 7, 2024 · 0 comments
Open

ESM support #425

datzgit opened this issue Sep 7, 2024 · 0 comments

Comments

@datzgit
Copy link

datzgit commented Sep 7, 2024

Hello everyone!

After upgrading to latest version which supports Angular 18, when I build my project I receive this CommonJS warning regarding ngx-mapbox-gl module:

▲ [WARNING] Module 'mapbox-gl' used by 'node_modules/ngx-mapbox-gl/fesm2022/ngx-mapbox-gl.mjs' is not ESM

CommonJS or AMD dependencies can cause optimization bailouts.
For more information see: https://angular.dev/tools/cli/build#configuring-commonjs-dependencies

Will there be any update on this, or should I follow the instructions from the link above mentioned in order to ignore this warning?

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

1 participant