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
045f25fa4e
middleman
/
middleman-more
/
fixtures
/
passthrough-app
/
source
/
inline-css.html.haml
5 lines
75 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-08 05:00:24 +02:00
%style(type="text/css")
:sass
body
test: style
good: deal
Reference in a new issue
Copy permalink