mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 08:20:36 +01:00
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
This commit is contained in:
committed by
Julian Lam
parent
2268f250bb
commit
c666a7efda
@@ -85,6 +85,7 @@ function initializeNodeBB(callback) {
|
|||||||
function(next) {
|
function(next) {
|
||||||
plugins.init(app, middleware, next);
|
plugins.init(app, middleware, next);
|
||||||
},
|
},
|
||||||
|
async.apply(plugins.fireHook, 'static:assets.prepare', {}),
|
||||||
async.apply(meta.js.bridgeModules, app),
|
async.apply(meta.js.bridgeModules, app),
|
||||||
function(next) {
|
function(next) {
|
||||||
async.series([
|
async.series([
|
||||||
|
|||||||
Reference in New Issue
Block a user