webpack2.0配置 基础版 功能介绍 编译SASS,并单独打包CSS; 打开本地服务器,并自动刷新; 压缩图片,并把小图变成base64。 安装 npm install or cnpm install 启动 webpack --watch 这时候会自动打开浏览器:localhost:3000