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
35ff2e0c48
middleman
/
middleman-more
/
fixtures
/
minify-js-app
/
config.rb
2 lines
24 B
Ruby
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
require
"
coffee-filter
"
Reference in a new issue
Copy permalink