staticDirs nested


  • Plugin & Theme Dev

    I'm currently getting rid of the deprecated (only for plugins o_O) attribute staticDir and have the following suggestions for staticDirs:

    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 😉


  • GNU/Linux Admin

    I'd like to enable the use of / in staticDirs, but it's hard to detect the route. It may be possible...


Log in to reply
 

Suggested Topics

  • 4
  • 3
  • 1
  • 43
  • 8
| |