This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
middleman--middleman
Watch
1
Star
0
Fork
You've already forked middleman--middleman
0
mirror of
https://github.com/middleman/middleman.git
synced
2022-11-09 12:20:27 -05:00
Code
Releases
Activity
0bc35db4a6
middleman--middleman
/
middleman-more
/
fixtures
/
minify-js-app
/
config.rb
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
1 line
24 B
Ruby
Raw
Blame
History
require
"
coffee-filter
"
View git blame
Copy permalink