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
Copyright © 2024 NodeBB | Contributors