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
CSS Preprocessor Workflow with Grunt
Search
vladikoff
October 19, 2013
Technology
2.8k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
CSS Preprocessor Workflow with Grunt
CSS Preprocessor Workflow with Grunt
vladikoff
October 19, 2013
More Decks by vladikoff
See All by vladikoff
The state of end-to-end testing for modern web apps
vladikoff
0
100
SmashingConf 2020
vladikoff
0
44
dotJS 2019 - Into WebAssembly
vladikoff
0
37
3D + the Web Platform
vladikoff
0
460
7 years of three.js
vladikoff
0
170
node.js @ GA 2015
vladikoff
0
490
JS Testing Stack - Full Stack Toronto 2014
vladikoff
1
850
Node.JS Intro - General Assembly
vladikoff
3
520
3D Voxel Worlds with voxel.js
vladikoff
1
2.1k
Other Decks in Technology
See All in Technology
探索・可視化・自動化を一本化 Amazon Quickでデータ活用スピードを上げる方法
koheiyoshikawa
0
180
事業成長とAI活用を止めないデータ基盤アーキテクチャの設計思想
hiracky16
0
550
_NIKKEI_Tech_Talk__勉強会は熱量では続かない___17回続いた輪読会の設計術.pdf
_awache
2
110
AIが当たり前の組織で エンジニアはどう育つか
nishihira
1
990
AIエージェントがあれば技術書なんてすぐ書けるでしょ→無理でした
watany
2
290
現場との対話から始める “作る前に問い直す”業務改善
mochico50
2
230
『モデル + ハーネス』で読み解く AIエージェント入門
oracle4engineer
PRO
2
170
VPCセキュリティ対応の最新事情
nagisa53
1
290
データと地図で読む 大井町の「かわるもの、かわらないもの」
yoshiyama_hana
0
160
「守りたい体験」を渡すだけで E2E を生成させられるようになった話
hinac0
2
1k
AI Native なプロダクト組織の立ち上げ方 : 生産性 100 倍への挑戦
mikesorae
0
1.3k
AI x 開発生産性を取り巻く予算戦略と投資対効果
i35_267
7
2.9k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.2k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.5k
The SEO identity crisis: Don't let AI make you average
varn
0
520
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
Done Done
chrislema
186
16k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
420
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
410
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
The Spectacular Lies of Maps
axbom
PRO
1
870
The Invisible Side of Design
smashingmag
301
52k
Accessibility Awareness
sabderemane
1
160
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Transcript
Preprocessor Workflow with Grunt CSS Dev Conference 2013 / Vlad
Filippov
@vladikoff
Agenda • Grunt - What and Why? • Getting Started
• Grunt Plugins and CSS Workflows • Beyond the plugins +
What is Grunt? Task Runner open browser minify CSS process
SASS optimize images run tests . . .
What is Grunt? Automation open browser minify CSS process LESS
optimize images → → → { →
What is Grunt? Build Step → → → → Debug
→ Source Production Development
What is Grunt? • Built and Configured using JavaScript •
Powered by • Cross-platform • Strength in community & open-source • Strength in modularity
Who uses Grunt?
npm-stat.vorb.de/charts.html?package=grunt
Grunt Ecosystem • Stable Version: 0.4.1 • 0.4.2 out in
the next few days! • Over 1000 plugins available today
Demo
Getting Started
Empty Gruntfile
Grunt Plugins!
Grunt Plugins! Grunt Plugins and Grunt Core in node_modules Install
the plugin we want:
Make it easy to install $ npm install grunt-contrib-less --save-dev
Make it easy to install Ready to be installed everywhere!
grunt-contrib-less
grunt-contrib-stylus
grunt-contrib-sass
grunt-contrib-compass
File Patterns
Run it!
So far... → SASS: dev SASS: prod →
grunt-contrib-watch
grunt-contrib-watch
Workflow! → SASS: dev SASS: prod → watch for changes
default development →
grunt-spritesmith
grunt-contrib-imagemin
build Workflow Updated! → SASS: dev SASS: prod → watch
for changes default dev → create sprites → build optimize images → → build →
Workflow Updated!
grunt-source Reuse a Grunt environment across multiple projects Project A
Project B Project C Boilerplate Project
So much to do... • Explore task combinations, optimize •
Give feedback to existing plugins • Share your workflow • Build your own plugins • Plugin Template: github.com/gruntjs/grunt-init
Beyond the plugins
Beyond the plugins
Beyond the plugins
Beyond the plugins
None
Thank you! • Documentation and API at gruntjs.com • Stackoverflow:
[gruntjs] • IRC: #grunt on Freenode • Twitter: @gruntjs and #gruntjs