Enable minification
This commit is contained in:
parent
0dcf283aa0
commit
a51abc285b
|
@ -14,7 +14,7 @@ assets.update_version
|
||||||
output 'public/scripts'
|
output 'public/scripts'
|
||||||
input assets.scripts do
|
input assets.scripts do
|
||||||
match '**/*.hbs' do
|
match '**/*.hbs' do
|
||||||
travis_handlebars :precompile => false # assets.production?
|
travis_handlebars :precompile => false#assets.production?
|
||||||
concat 'templates.js'
|
concat 'templates.js'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ input assets.scripts do
|
||||||
|
|
||||||
if assets.production?
|
if assets.production?
|
||||||
match 'min/app.js' do
|
match 'min/app.js' do
|
||||||
# uglify squeeze: true
|
uglify squeeze: true
|
||||||
concat 'app.js'
|
concat 'app.js'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user