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
b3fd8629d3
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
2 lines
24 B
Ruby
Raw
Blame
History
require
"
coffee-filter
"
Reference in a new issue
View git blame
Copy permalink