move sprockets init
This commit is contained in:
parent
8bc2fddb9d
commit
91675c4588
|
@ -128,7 +128,6 @@ module Middleman
|
|||
$LOAD_PATH.unshift(root)
|
||||
|
||||
::Middleman::Extension.clear_after_extension_callbacks
|
||||
run_hook :initialized
|
||||
|
||||
if config[:autoload_sprockets]
|
||||
begin
|
||||
|
@ -138,6 +137,8 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
run_hook :initialized
|
||||
|
||||
run_hook :before_configuration
|
||||
|
||||
# Check for and evaluate local configuration
|
||||
|
|
Loading…
Reference in a new issue