question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Add esm support

See original GitHub issue

Add esm output and module mainField.

I’m using Angular 10 and see warning:

WARNING in my-lib depends on 'rxjs-spy/operators'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cartantcommented, Aug 16, 2020

7.5.3 should include Rollup-generated, flattened ESM bundles.

1reaction
cartantcommented, Aug 13, 2020

Actually, I can probably fix this using Rollup. I might look at it on the weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Feature Request] ESM Support #1180 - danger/danger-js
I got tripped up by a dependency that went "esm-only" today in their 7.x/latest version strip-ansi extra info from the maintainer. Do we...
Read more >
What does it take to support Node.js ESM? – The Guild
To add support ESM for Node.js, you have two alternatives: build your library into ESM Compatible modules with the extension .mjs , and...
Read more >
Feature request: Import support, through file names and esm or
Your code goes in the code variable, this enables basically all features of ESM on RunKit. Every single package you need, just put...
Read more >
ServiceDesk Plus | Feature Request Community
Full-stack ITSM suite with enterprise service management | Feature Request Community.
Read more >
Live preview do not support ESM modules - zeroheight forum
Is there any chance to allow ESM modules in the live preview? The examples crashes if they ... VinhLa added the Feature request...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found