@julian we are hiring devs to work with me on this, if u know someone who knows react & nodeBB, please let me know 🙂
staticDirs nested
-
I'm currently getting rid of the deprecated (only for plugins o_O) attribute staticDir and have the following suggestions for staticDirs:
- update wiki Writing Plugins for NodeBB
- allow nested objects as sub-dirs
- allow
/
for sub-dirs
Therefor I may use the following syntax:
"staticDirs": { "emoji-extended/maybeSomeSubDir": { "images": "node_modules/emoji-images/pngs", "css": "styles", "js": "scripts", "js/libs": "libs" } }
Would be way more comfortable for some use-cases... At least one of nested objects and
/
-syntax should get implemented -
I'd like to enable the use of
/
in staticDirs, but it's hard to detect the route. It may be possible...