安装grunt需要的grunt插件

npm intall就好了

npm build就可以压缩了

原文地址:https://www.cnblogs.com/taojunlong/p/3964378.html