Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Gulp lessons learned
Search
Zlatko
January 28, 2015
Technology
0
100
Gulp lessons learned
Few short lessons learned with assembling my own Gulpfile.js in an Angular.js project.
Zlatko
January 28, 2015
Tweet
Share
More Decks by Zlatko
See All by Zlatko
RabbitMQ and Node.js
zladuric
0
190
Angular 1.x binding limits
zladuric
0
75
JavaScript and Streams
zladuric
1
380
Node.js streams
zladuric
1
130
Other Decks in Technology
See All in Technology
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
350
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
520
Webhook best practices for rock solid and resilient deployments
glaforge
1
280
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
5.1k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.2k
20260204_Midosuji_Tech
takuyay0ne
1
150
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.3k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
A designer walks into a library…
pauljervisheath
210
24k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Leo the Paperboy
mayatellez
4
1.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Abbi's Birthday
coloredviolet
1
4.7k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
Transcript
Practical experience of assembling a gulpfile.js in an Angular project
Zlatko Duric (@zladuric)
Intro Backend (Node.js) developer at thinxnet.com (look at /jobs). (until
3 months ago, freelance full-stack developer) Not Angular or Gulp expert, merely practicioner.
My first linting copy/paste or #!/bin/bash wget that-stuff java -jar
yuicompressor-x.y.z.jar so-and-so.js -o so-and-so.min.js JSLINT.COM
Why Gulp? Code over configuration Gruntfile is much complex, such
learning!
FF to Gulp.js CAN YOU READ THIS, LITTLE JAVASCRIPTER?
Angular.js Gulp.js gulp.task('name', function() { doStuff;}); Minify, Sourcemaps, Components approach
How to inject stuff into index.html like grunt? return stream; // !important
Show me the way
LESSON 1 WATCH THE ORDER OF YOUR STREAMS
Poke the head, poke the body Great for assets hashing:
app.js > app-a8c221.js
Supercharger injection turbo extra mega Remember `.pipe(rev.manifest({path: 'vendor-manifest.json'}))`?
LESSON 2 CHANGE THE DATA IN YOUR OWN WAY
You're testing my lints Hinting, code style, tests
LESSON 3 OWN YOUR TASKS
Thank you Questions? (I accept cash and Paypal donations.)