Change the auto activated extension feature to allow specifying different lifecycle events to activate at, allowing more extensions to auto activate.
This commit is contained in:
parent
70b3b87905
commit
6561fea296
5 changed files with 48 additions and 38 deletions
|
@ -86,7 +86,7 @@ module Middleman
|
|||
|
||||
::Middleman::Extension.clear_after_extension_callbacks
|
||||
|
||||
::Middleman::Extensions.auto_activate_before_configuration.each do |ext_name|
|
||||
::Middleman::Extensions.auto_activate[:before_configuration].each do |ext_name|
|
||||
activate ext_name
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue