exclude admin directory from uglifier

Shawn Erquhart committed Aug 30, 2018
commit 2c477894fc93fb29793faa9ae7e3f5117e5b5066
Showing 1 changed file with 1 additions and 1 deletions
config.rb +1 -1
@@ @@ -80,7 +80,7 @@ configure :build do
activate :minify_css
# Minify Javascript on build
- activate :minify_javascript, compressor: ::Uglifier.new(mangle: true, compress: { drop_console: true }, output: {comments: :none} )
+ activate :minify_javascript, :ignore => "**/admin/**", compressor: ::Uglifier.new(mangle: true, compress: { drop_console: true }, output: {comments: :none})
# Use Gzip
activate :gzip