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

Support for ESM modules #239

Open
Tukkan opened this issue May 10, 2024 · 1 comment
Open

Support for ESM modules #239

Tukkan opened this issue May 10, 2024 · 1 comment

Comments

@Tukkan
Copy link

Tukkan commented May 10, 2024

Are there any plans for supporting the ESM modules?

Currently, while serving an angular project, there's a warning:
Warning: /node_modules/ngx-mqtt/fesm2022/ngx-mqtt.mjs depends on 'mqtt-browser'. CommonJS or AMD dependencies can cause optimization bailouts.

@sclausen
Copy link
Owner

I have been working on an overhaul of the library which directly uses mqtt.js and doesn't need mqtt-browser anymore. I think that would solve your issue, while I can't give you an estimate on when I prioritize it in my schedule.

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