From c666a7efda8db9d71caebaedb2ac72d61522897a Mon Sep 17 00:00:00 2001 From: Anil Mandepudi Date: Wed, 27 Jul 2016 10:06:54 -0700 Subject: [PATCH] add static:assets.prepare hook (#4889) * add static:assets.prepare hook add static:assets.prepare hook to be called before css minification so that themes/plugins can modify less vars. * change parameter --- src/webserver.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webserver.js b/src/webserver.js index 48d8167d3b..5ed7f44cd6 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -85,6 +85,7 @@ function initializeNodeBB(callback) { function(next) { plugins.init(app, middleware, next); }, + async.apply(plugins.fireHook, 'static:assets.prepare', {}), async.apply(meta.js.bridgeModules, app), function(next) { async.series([