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
99
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
74
JavaScript and Streams
zladuric
1
380
Node.js streams
zladuric
1
120
Other Decks in Technology
See All in Technology
データ戦略部門 紹介資料
sansan33
PRO
1
3.8k
生成AIを安心して活用するために──「情報セキュリティガイドライン」策定とポイント
gree_tech
PRO
0
240
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
43k
Okta Identity Governanceで実現する最小権限の原則 / Implementing the Principle of Least Privilege with Okta Identity Governance
tatsumin39
0
160
Copilot Studio ハンズオン - 生成オーケストレーションモード
tomoyasasakimskk
0
200
HonoとJSXを使って管理画面をサクッと型安全に作ろう
diggymo
0
160
生成AI時代のセキュアコーディングとDevSecOps
yuriemori
0
150
コンパウンド組織のCRE #cre_meetup
layerx
PRO
0
230
Data Hubグループ 紹介資料
sansan33
PRO
0
2.2k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.8k
私のMCPの使い方
tsubakimoto_s
0
120
Claude Code Subagents 再入門 ~cc-sddの実装で学んだこと~
gotalab555
10
17k
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
930
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Typedesign – Prime Four
hannesfritz
42
2.8k
Automating Front-end Workflow
addyosmani
1371
200k
The Language of Interfaces
destraynor
162
25k
The World Runs on Bad Software
bkeepers
PRO
72
11k
RailsConf 2023
tenderlove
30
1.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
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.)