Disable mangling with esbuild with build-angular:browser-esbuild

268 Views Asked by At

With the webpack builder we can use NG_BUILD_MANGLE=0 to disable mangling.

But that doesn't work with the new esbuild builder.

Is there any alternative ?

1

There are 1 best solutions below

0
Matthieu Riegler On BEST ANSWER

Support of NG_BUILD_MANGLE has been added ot the CLI by this commit.