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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
590
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
What happened to RubyGems and what can we learn?
mikemcquaid
0
280
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
3.1k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
920
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
210
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
180
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
6
2.3k
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
220
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
200
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Building Adaptive Systems
keathley
44
2.9k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
GraphQLとの向き合い方2022年版
quramy
50
14k
Music & Morning Musume
bryan
47
7.1k
Optimizing for Happiness
mojombo
379
71k
Unsuck your backbone
ammeep
671
58k
Making Projects Easy
brettharned
120
6.6k
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.)