Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
110
SmashingConf 2020
vladikoff
0
47
dotJS 2019 - Into WebAssembly
vladikoff
0
39
3D + the Web Platform
vladikoff
0
470
7 years of three.js
vladikoff
0
170
node.js @ GA 2015
vladikoff
0
490
JS Testing Stack - Full Stack Toronto 2014
vladikoff
1
860
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
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
270
「ピッケル本」日本語版は4.0(第6版)が出版されるべき / pickaxe4-nagoyark05
kakutani
2
280
【ゲームメーカーズスクランブル2026】『Shadowverse: Worlds Beyond』UIとアニメーションで実現する最高のユーザー体験を叶えるプロトタイピング
cygames
PRO
0
160
2026_devsumi_ozono.pdf
o3
3
580
データ_AIの事業の勝敗をわけるもの
nek0128
1
480
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
660
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
AIに賢く動いてもらうためのコンテキスト〜Snowflake女子会 vol.8
snowwmn0824
0
160
2026-09-08 そのJavaモダナイゼーション、AIに丸投げで大丈夫?IBM Bobで変わる品質と効率
yutanonaka
1
150
Kiro Meetup #8 Kiro アップデート (2026/3/21〜2026/9/24)
katzueno
1
150
AIによるクリエイティブ生成を行う上での試行錯誤
plaidtech
PRO
0
180
リアーキテクチャ後の障害ゼロを目指したShadow Testingの取り組み
nihonbuson
PRO
1
170
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
570
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
510
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
380
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
The Pragmatic Product Professional
lauravandoore
37
7.4k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
So, you think you're a good person
axbom
PRO
2
2.2k
Visualization
eitanlees
152
17k
Building AI with AI
inesmontani
PRO
1
1.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