Skip to content

适合新手的gulp4.0.0教程,附有html、css、js示例文件

Notifications You must be signed in to change notification settings

langhuanyudong/gulpdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulpdemo

适合新手的gulp4.0.0教程,附有html、css、js示例文件

用途

偶尔写一些简单页面时候,喜欢用gulp做自动化构建。最新的gulp版本是4.0.0,但是最新的中文版文档仍然是gulp.task的写法,这种写法会报错。 网上搜索了下,并没有找到有人用最新的写法写了gulpfile.js。所以就按照英文网站的示例写了一个,同时附上了html、css、js文件目录以及空文件。

gulp版本

"gulp": "^4.0.0",文档:https://gulpjs.com/

依赖包信息

"devDependencies": { "browser-sync": "^2.26.3", "gulp": "^4.0.0", "gulp-clean-dest": "^0.2.0", "gulp-concat": "^2.6.1", "gulp-htmlmin": "^5.0.1", "gulp-less": "^4.0.1", "gulp-minify-css": "^1.2.4", "gulp-rev": "^9.0.0", "gulp-uglify": "^3.0.2" }

About

适合新手的gulp4.0.0教程,附有html、css、js示例文件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published