Learning GulpParameters 36 Examples 36 Using Browserify with Vanilla Javascript 36 Using Browserify with Coffeescript 36 Chapter 15: Using file filters. 38 Examples 38 Creating Images, JS, and CSS(SASS) rule for task('one', function() { // compile sass css }); gulp.task('two', function() { // compile coffeescript }); // task three will execute only after tasks one and two have been completed // note that insertGlobals: true }) .pipe(gulp.dest('./build/')); } Using Browserify with Coffeescript First install gulp and browserify via npm i gulp gulp-coffeeify. This will install browserify0 码力 | 45 页 | 977.19 KB | 1 年前3
Gulp 入门指南文件,当某个文件被修改时,自动压缩修改文件。启动 gulp 后就可以让它 帮助你自动构建 Web 项目。 gulp 还可以做很多事,例如: 1. 压缩CSS 2. 压缩图片 3. 编译Sass/LESS 4. 编译CoffeeScript 5. markdown 转换为 html gulp 入门指南 - 2 - 本文档使用 看云 构建 安装 Node 和 gulp gulp 是基于 node 实现的,那么我们就需要先安装0 码力 | 36 页 | 275.87 KB | 1 年前3
共 2 条
- 1













