mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-22 07:23:01 +01:00
fix: also check theme node_modules folder as a css path
This commit is contained in:
@@ -187,6 +187,7 @@ async function getBundleMetadata(target) {
|
||||
const themeId = (themeData['theme:id'] || 'nodebb-theme-persona');
|
||||
const baseThemePath = path.join(nconf.get('themes_path'), (themeData['theme:type'] && themeData['theme:type'] === 'local' ? themeId : 'nodebb-theme-persona'));
|
||||
paths.unshift(baseThemePath);
|
||||
paths.unshift(`${baseThemePath}/node_modules`);
|
||||
|
||||
themeData.bootswatchSkin = skin || themeData.bootswatchSkin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user