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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Zlatko
January 28, 2015
Technology
100
0
Share
Gulp lessons learned
Few short lessons learned with assembling my own Gulpfile.js in an Angular.js project.
Zlatko
January 28, 2015
More Decks by Zlatko
See All by Zlatko
RabbitMQ and Node.js
zladuric
0
190
Angular 1.x binding limits
zladuric
0
80
JavaScript and Streams
zladuric
1
380
Node.js streams
zladuric
1
140
Other Decks in Technology
See All in Technology
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
1.1k
探して_入れて_作って_使う_Agent_Skills___LT.pdf
peintangos
2
150
速さだけじゃない! VoidZero ツールが移行先に選ばれる理由
mizdra
PRO
6
730
コードレビューを制するチームがソフトウェアデリバリーのフローを制す / Beyond Code Review: Distributing Its Responsibilities Across the SDLC
mtx2s
3
690
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
200
大学生が本気でDatabricksを活用してDiscordサークルをデータ駆動させてみた
phantomjuju
1
330
Claude Codeですべての日常業務を爆速化しよう!
minorun365
PRO
17
16k
Databricks における 生成AIガバナンスの実践
taka_aki
1
230
脅威をエンジニアリングの糧にして:恐怖を乗り越えた先にあったもの / Turn threats into fuel for engineering: what lay beyond overcoming fear
nrslib
1
370
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
360
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
330
Featured
See All Featured
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
210
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Optimizing for Happiness
mojombo
378
71k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
860
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Deep Space Network (abreviated)
tonyrice
0
160
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
150
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
260
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.)