Angular-CLI App Specify Uglify settings?

Viewed 1139

I have an angular-cli app running and building fine, however I'm bumping into this issue with aot and uglify: git-hub issue / stackoverflow question

In the past to mitigate it I customized the rollup.config.js file with the following:

 plugins: [
        ...
       , uglify({ output: { ascii_only: true } })

    ]

How do I specify this custom uglify plugin setting with an angular-cli app?


This stems from the fact that we have some view templates using &nsbp; in them to add whitespace. Maybe I need to look at an alternative for that escape sequence instead of ejecting the cli and losing parts of it's magic.

0 Answers
Related