DEV Community

Discussion on: Understanding Angular Ivy Library Compilation

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen

Nice article! It's currently necessary to set the angularLinker option in an application's build architect target to enable the Angular Linker, correct?

"build": {
  "options": {
    "angularLinker": true
  }
}
Enter fullscreen mode Exit fullscreen mode

It seems that this is necessary to use partially compiled libraries.

Collapse
 
lacolaco profile image
Suguru Inatomi

Thank you Lars!

About an application-side configuration, I don't think so. I found angularLinker but it is an internal flag that is determined in the build process.
I actually confirmed that no actions are needed by the application-side to use the partially compiled library with v11.2. And I read the source code.

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen

Thanks, that's great to know 👍