angular / angular/angular

Log an error when Domino code is in a client bundle

Open
#48,205 0 comments 0 reactions 0 assignees View on GitHub
area: server feature feature: in backlog
Dominant language
TypeScript
Stars
101k
Forks
27.5k
Avg merge
1d 19h
Merged PRs (30d)
288

Description

### Which @angular/* package(s) are relevant/related to the feature request?

platform-server

### Description

Domino is only needed in server bundles, but it may leak into the client bundles accidentally when there is some misconfiguration in an app and some symbols from the `platform-server` are retained. It'd be great to detect this situation and log an error.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the platform-server dependency path that brings Domino into client bundles and review how the Angular build detects retained server symbols. Done means an accidental Domino inclusion in a client bundle is detected and an error is logged; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
build-system, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.