I love using Grunt for concatenating and minifying plugins etc.. can someone please tell me how to do this task on Angular 2's node_modules.. i want to end up with 1 file that is minified and concatenated.. I have tried webpack etc and gulp tutorials but none of them get the jobs done.
Asked
Active
Viewed 327 times
6
-
1Does that help? https://stackoverflow.com/q/42933220/1160794 – David Jun 13 '20 at 12:56
-
You can simply add Grunt minfiy command in to angular.json file to run on build command – CodeMind Jun 15 '20 at 06:54
-
2Also, you say you want to do it on node `node_modules`, but angular already does that: ithe resulting file is `vendor.js` – David Jun 19 '20 at 07:41