mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
set up plugins in build step as well
This commit is contained in:
@@ -48,9 +48,11 @@ var middleware;
|
||||
return callback();
|
||||
}
|
||||
|
||||
app = nbbApp;
|
||||
middleware = nbbMiddleware;
|
||||
hotswap.prepare(nbbApp);
|
||||
if (nbbApp) {
|
||||
app = nbbApp;
|
||||
middleware = nbbMiddleware;
|
||||
hotswap.prepare(nbbApp);
|
||||
}
|
||||
|
||||
if (global.env === 'development') {
|
||||
winston.verbose('[plugins] Initializing plugins system');
|
||||
|
||||
Reference in New Issue
Block a user