So by default I have set
activate :minify_javascript, :inline => true
but I want to skip minification on one JS file for production only.
How can I achieve it?
So by default I have set
activate :minify_javascript, :inline => true
but I want to skip minification on one JS file for production only.
How can I achieve it?
configure :build do
activate :minify_javascript, inline: true, ignore: "js/file.js"
end
You can also use wildcards:
ignore: "/admin/*"