You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now when using pbf in an angular application (or using a library that depends on pbf), angular emits a warning about using commonjs/amd dependencies, as they cause optimization bailouts and interfere with tree shaking.
Providing an esm module would fix these warnings and allow better optimization.
The text was updated successfully, but these errors were encountered:
A little late to the party, but I ended up creating a fork to generate esm modules which should act as a drop-in replacement for existing implementations in the short term.
Right now when using pbf in an angular application (or using a library that depends on pbf), angular emits a warning about using commonjs/amd dependencies, as they cause optimization bailouts and interfere with tree shaking.
Providing an esm module would fix these warnings and allow better optimization.
The text was updated successfully, but these errors were encountered: