0

how to exlude few nod_modules file from ng build --prod (uglifyjs) as uglifyjs try to compress it , but fails to do so.

I tried to do it using tsconfig.json exclude - not working so trying to do it through webpack.config.js .

Please could anyone help on this

  • Why do you want to exclude them? Can you move them into the `devDependencies` array in package.json? – user184994 Nov 06 '18 at 11:43
  • thanks for reply , it was throwing as issue so wanted to exclude them.But we upgraded application to angular 7 with all package upgrade which fix my core issue so no need to do this exclusion . – user2787096 Nov 07 '19 at 10:50

0 Answers0