Created
January 18, 2013 07:51
-
-
Save toolmantim/4563015 to your computer and use it in GitHub Desktop.
Configuring sinatra asset-pack to retain line numbers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| require 'sinatra/assetpack' | |
| assets do | |
| js :app, '/app.js', ['js/*.js'] | |
| js_compression :uglify, | |
| # Add new lines | |
| beautify: true, | |
| # Don't add indentation | |
| beautify_options: {indent_level: 0} | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment