require 'rack'
require 'cantrips/hash/recursive_merge'
require 'rack/scriptstacker/version'
module Rack
class ScriptStacker
module InjectMode
TAG = :tag
SLOT = :slot
end
DEFAULT_CONFIG = {
configure_static: true,
inject_mode: InjectMode::TAG,
stackers: {
css: {
template: '',
glob: '*.css',
slot: 'CSS',
inject_before_tag: '',
},
javascript: {
template: '',
glob: '*.js',
slot: 'JAVASCRIPT',
inject_before_tag: '