Closed xkx-dev closed 3 hours ago
build
As the angular has already support the built-in control workflow in template.
like
@if( __ENV_PROD__){ < PROD-COMP> } @else { <some -comp> }
how to config some global vialiables __ENV_PROD__ to enable the tree sharking in both ts and html files ?
__ENV_PROD__
No response
Tree-shaking cannot be applied to code within the templates.
Command
build
Description
As the angular has already support the built-in control workflow in template.
like
how to config some global vialiables
__ENV_PROD__
to enable the tree sharking in both ts and html files ?Describe the solution you'd like
No response
Describe alternatives you've considered
No response