前端内容的自动化构建

 

 

brew.sh

安装Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install node
npm install -g browserify
建立build.sh文件
代码如下
browserify js/index.js -o js/main.js

 npm install gulp

 

npm install shelljs

 

npm install browserify 

 

 

 

原文地址:https://www.cnblogs.com/zhoudawei/p/10813044.html