This website requires JavaScript.
Explore
Help
Sign In
deac
/
middleman
Watch
1
Star
0
Fork
You've already forked middleman
0
Code
Issues
Pull requests
Releases
Wiki
Activity
024d33c16e
middleman
/
middleman-more
/
fixtures
/
minify-css-app
/
source
/
inline-css.html.haml
Ben Hollis
192047d242
Minify all JS and CSS via middleware. This means JS or CSS anywhere in the site is minified, not just in the Sprockets-controlled directories. I've also added inline CSS compression, and handling of several common "guards" that get wrapped around JS. Also, leave alone non-JS script tags (which may contain something like jQuery templates). Sprockets no longer has anything to do with minification after this.
2012-04-09 00:05:22 -07:00
6 lines
51 B
Plaintext
Raw
Blame
History
:css
body {
test: style;
good: deal;
}
Reference in a new issue
View git blame
Copy permalink