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
95
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
180
Angular 1.x binding limits
zladuric
0
71
JavaScript and Streams
zladuric
1
370
Node.js streams
zladuric
1
110
Other Decks in Technology
See All in Technology
[JAWS-UG栃木]地方だからできたクラウドネイティブ事例大公開! / jawsug_tochigi_tachibana
biatunky
0
130
ObservabilityCON on the Road Tokyoの見どころ
hamadakoji
0
210
AWSエンジニアに捧ぐLangChainの歩き方
tsukuboshi
0
220
トレードオフスライダーにおける品質について考えてみた
suzuki_tada
3
180
Microsoft Ignite 2024 最新情報!Microsoft 365 Agents SDK 概要 / Microsoft Ignite 2024 latest news Microsoft 365 Agents SDK overview
karamem0
0
190
バクラクの組織とアーキテクチャ(要約)2025/01版
shkomine
13
3k
panicを深ぼってみる
kworkdev
PRO
2
150
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
100
あなたの興味は信頼性?それとも生産性? SREとしてのキャリアに悩むみなさまに伝えたい選択肢
jacopen
6
3.3k
Site Reliability Engineering on Kubernetes
nwiizo
6
4.4k
生成AIを活用した機能を、顧客に提供するまでに乗り越えた『4つの壁』
toshiblues
1
210
srekaigi2025-hajimete-ippo-aws
masakichieng
0
250
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
335
57k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.4k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Designing Experiences People Love
moore
139
23k
Making Projects Easy
brettharned
116
6k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Designing for Performance
lara
604
68k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
220
Side Projects
sachag
452
42k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
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.)