Skip to content

Provide an ability to perform tree-shaking but retain symbol names #22354

Closed
@AndrewKushnir

Description

@AndrewKushnir

🚀 Feature request

Command (mark with an x)

  • build

Description

Currently it's not possible to use ng build to perform dead code elimination via Terser, but retain symbol names in generated JS bundle. It'd be useful to have this capability to simplify bundle size-related investigations (which often times involves looking for retained symbols).

// cc @alan-agius4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions