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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
380
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
440
Tebiki Engineering Team Deck
tebiki
0
24k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
AWS Network Firewall Proxyを触ってみた
nagisa53
1
210
今日から始めるAmazon Bedrock AgentCore
har1101
4
400
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
180
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
KATA
mclloyd
PRO
34
15k
Faster Mobile Websites
deanohume
310
31k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
sira's awesome portfolio website redesign presentation
elsirapls
0
150
Balancing Empowerment & Direction
lara
5
880
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
180
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
So, you think you're a good person
axbom
PRO
2
1.9k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
330
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.)