Currently when ESBuild bundles an application importing from `@angular/core`, the signals library will be discovered during export analysis. ESBuild will come across the constants for the reactive signal graph- and end up considering some of these as side-effects given the pattern of using a spread assignment for extending from e.g. `REACTIVE_NODE` (a similar issue may occur if we e.g. extend from the computed reactive node). See more details on the issue: https://github.com/evanw/esbuild/issues/3392 Even though, ESBuild preserves these constants now, and all of its dependencies— Terser will consider these as side-effect free and eliminate these constants. This may require multiple passes though, and might not be sufficient, depending on the chain of reactive node extensions. E.g. in the signals branch we noticed some constants unnecessarily being preserved. PR Close #51809
Angular - The modern web developer's platform
Angular is a development platform for building mobile and desktop web applications
using TypeScript/JavaScript and other languages.
Contributing Guidelines
·
Submit an Issue
·
Blog
Documentation
Get started with Angular, learn the fundamentals and explore advanced topics on our documentation website.
Advanced
Development Setup
Prerequisites
- Install Node.js which includes Node Package Manager
Setting Up a Project
Install the Angular CLI globally:
npm install -g @angular/cli
Create workspace:
ng new [PROJECT NAME]
Run the application:
cd [PROJECT NAME]
ng serve
Angular is cross-platform, fast, scalable, has incredible tooling, and is loved by millions.
Quickstart
Ecosystem
Changelog
Learn about the latest improvements.
Upgrading
Check out our upgrade guide to find out the best way to upgrade your project.
Contributing
Contributing Guidelines
Read through our contributing guidelines to learn about our submission process, coding rules, and more.
Want to Help?
Want to report a bug, contribute some code, or improve the documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues labeled as help wanted or good first issue.
Code of Conduct
Help us keep Angular open and inclusive. Please read and follow our Code of Conduct.
Community
Join the conversation and help the community.
Love Angular? Give our repo a star ⭐ ⬆️.
