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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
vladikoff
October 19, 2013
Technology
2.8k
3
Share
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
89
SmashingConf 2020
vladikoff
0
39
dotJS 2019 - Into WebAssembly
vladikoff
0
32
3D + the Web Platform
vladikoff
0
440
7 years of three.js
vladikoff
0
160
node.js @ GA 2015
vladikoff
0
480
JS Testing Stack - Full Stack Toronto 2014
vladikoff
1
850
Node.JS Intro - General Assembly
vladikoff
3
500
3D Voxel Worlds with voxel.js
vladikoff
1
2.1k
Other Decks in Technology
See All in Technology
Pure Intonation on Browser: Building a Sequencer with Ruby
nagachika
0
250
20260428_Product Management Summit_tadokoroyoshiro
tadokoro_yoshiro
14
15k
AI時代のガードレールとしてのAPIガバナンス
nagix
0
320
AndroidアプリとCopilot Studioの統合
nakasho
0
170
Building a Standalone Programming Environment
harukasan
PRO
1
220
AI와 협업하는 조직으로의 여정
arawn
0
540
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
180
ネットワーク運用を楽にするAWS DevOps Agent活用法!! / 20260421 Masaki Okuda
shift_evolve
PRO
2
240
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
330
Claude Code を安全に使おう勉強会 / Claude Code Security Basics
masahirokawahara
12
38k
小説執筆のハーネスエンジニアリング
yoshitetsu
0
820
色を視る
yuzneri
0
240
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
260
Fireside Chat
paigeccino
42
3.9k
Being A Developer After 40
akosma
91
590k
Making Projects Easy
brettharned
120
6.6k
The SEO identity crisis: Don't let AI make you average
varn
0
450
Designing Powerful Visuals for Engaging Learning
tmiket
1
350
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Mind Mapping
helmedeiros
PRO
1
170
Building Applications with DynamoDB
mza
96
7k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
160
Abbi's Birthday
coloredviolet
2
7.3k
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