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.

Enable partial Ivy format for Angular

See original GitHub issue

Problem Statement

Angular 13+ will remind you of any library, that isn’t compiled in partial Ivy and requires using ngcc.

Processing legacy "View Engine" libraries:
- @sentry/angular [es2015/esm2015] (git://github.com/getsentry/sentry-javascript.git)
Encourage the library authors to publish an Ivy distribution.

Any chance to go Ivy way? I know some users might not be using Ivy yet, but I’d like to get rid of ngcc as soon as possible.

Solution Brainstorm

In tsconfig remove "enableIvy": false.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:30
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

22reactions
AbhiPrasadcommented, Jun 16, 2022

Hey, thanks for writing in. We’ve chatted about this in https://github.com/getsentry/sentry-javascript/pull/5253#issuecomment-1154834677, and will be addressing this in our next major version, v8. See https://github.com/getsentry/sentry-javascript/issues/5194#issuecomment-1157389443 also.

Backlogging this for now. If anyone else is interested in this (or is interested in having this happen before the next major), please leave a reaction to this issue or a comment in the issue itself.

5reactions
vladanpaunoviccommented, Aug 8, 2022

@henningtillmann, thanks for your interest!

Sadly I don’t have dates to share with you yet.

What I can tell you is that we are currently on v7.9.0 and I don’t think it will take us long enough before we jump to version 8.

Once we know more, we will update the milestone.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Angular Ivy Library Compilation | lacolaco/tech
In this post, I will explain how to compile Angular libraries with Ivy, which is now possible in Angular v11.1, and its details....
Read more >
Upcoming improvements to Angular library distribution
Enable the Ivy library distribution by default for new library projects. To ensure smooth transitions of libraries dependent on Angular ...
Read more >
Angular Ivy
Ivy is the code name for Angular's next-generation compilation and rendering pipeline. With the version 9 release of Angular, the new compiler and...
Read more >
Setting up Angular libraries with partial Ivy compilation and ...
Going through the Trellis.org Open Source repo and updating Angular packages with supported peer dependencies and partial compilation mode ...
Read more >
How do I enable Ivy for Angular 8 or 9? - Stack Overflow
To update an existing project to use Ivy, set the enableIvy option in the angularCompilerOptions in your project's tsconfig.app.json .
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