使用grunt构建js组件开发环境需求如下功能:
1、合并指定目录js、css文件
2、混淆js文件
3、将生产成果放置到指定目录
构建过程
1、使用npm安装grunt:npm install -g grunt
2、