Update README.md to use deleteAsync (#2806)
For ~two years ‘del’ no longer exports a default method, and instead exports
deleteAsync()anddeleteSync(), the former replacingdel()See https://github.com/sindresorhus/del/commit/106d7d8ff813059c437d7c428539b7719292d1d6
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
The streaming build system
What is gulp?
Installation
Follow our Quick Start guide.
Roadmap
Find out about all our work-in-progress and outstanding issues at https://github.com/orgs/gulpjs/projects.
Documentation
Check out the Getting Started guide and API docs on our website!
Excuse our dust! All other docs will be behind until we get everything updated. Please open an issue if something isn’t working.
Sample
gulpfile.jsThis file will give you a taste of what gulp does.
Use latest JavaScript version in your gulpfile
Gulp provides a wrapper that will be loaded in your ESM code, so you can name your gulpfile as
gulpfile.mjsor with"type": "module"specified in yourpackage.jsonfile.And here’s the same sample from above written in ESNext.
Incremental Builds
You can filter out unchanged files between runs of a task using the
gulp.srcfunction’ssinceoption andgulp.lastRun:Task run times are saved in memory and are lost when gulp exits. It will only save time during the
watchtask when running theimagestask for a second time.Want to contribute?
Anyone can help make this project better - check out our Contributing guide!