Skip to content

feat(gulp): まとめを追加 #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions ja/gulp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,20 @@ gulpでは[vinyl](https://github.com/gulpjs/vinyl "vinyl")オブジェクトを

- プラグインの組み合わせ問題は利用者が解決しないといけない
- 同様の機能を持つプラグインが生まれやすい

## この仕組みを使っているもの

- [sighjs/sigh](https://github.com/sighjs/sigh "sighjs/sigh")
- gulpプラグインそのものをサポートしています。

## まとめ

ここではgulpのプラグインアーキテクチャについて学びました。

- gulpはタスク自動化ツール
- JavaScriptで設定を書くことができる
- gulpは中間フォーマットとデータの流れを決めている
- 中間フォーマットは[vinyl](https://github.com/gulpjs/vinyl "vinyl")オブジェクト
- データの流れは既存のNode.js Stream
- 既存のライブラリをラップしたプラグインが作りやすい
- 同様の機能を持つプラグインが登場しやすい