Sha256: ba3d4aa38764676eb3e9af4036b26173739007bbaf3d6f2849a4bfba1535d2b6
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
# Frozen-string-literal: true # Copyright: 2012-2015 - MIT License # Encoding: utf-8 module Jekyll module Assets module Config Development = { "skip_baseurl_with_cdn" => false, "skip_prefix_with_cdn" => false, "prefix" => "/assets", "digest" => false, "assets" => [], "compress" => { "css" => false, "js" => false }, "sources" => [ "_assets/css", "_assets/stylesheets", "_assets/images", "_assets/img", "_assets/fonts", "_assets/javascripts", "_assets/js" ] } # Production = Development.merge({ "digest" => true, "compress" => { "css" => true, "js" => true }, }) # def self.defaults %W(development test).include?(Jekyll.env) ? Development : Production end # def self.merge(nhash, ohash = defaults) ohash.merge(nhash) do |key, oval, nval| oval.is_a?(Hash) && nval.is_a?(Hash) ? merge(nval, oval) : nval end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-assets-2.0.0 | lib/jekyll/assets/config.rb |