You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This introduces a couple of backwards-compatible change to plugins:
If staticDir is defined, it will be mapped to /plugins/{plugin-id}, same as before
If staticDirs is defined, it is an object that specifies mappings, e.g. { 'test': 'assets/css' } will map /plugins/test to /node_modules/{yourPlugin}/assets/css
If staticDir is defined, any entries in css will be mapped to /plugins/{plugin-id}/{file}, same as before
If staticDir is not defined, any entries in css will be mapped 1:1 with a previously defined staticDir. e.g. A css file in /node_modules/{yourPlugin}/assets/css would be defined: ['/test/style.css']
So, plugins as they are will continue to work, but throw deprecation warnings now. They will stop working for v0.5.
This introduces a couple of backwards-compatible change to plugins:
If staticDir is defined, it will be mapped to /plugins/{plugin-id}, same
as before
If staticDirs is defined, it is an object that specifies mappings,
e.g. { 'test': 'assets/css' } will map /plugins/test to
/node_modules/{yourPlugin}/assets/css
If staticDir is defined, any entries in css will be mapped to
/plugins/{plugin-id}/{file}, same as before
If staticDir is not defined, any entries in css will be mapped
1:1 with a previously defined staticDir. e.g. A css file in
/node_modules/{yourPlugin}/assets/css would be defined:
['/test/style.css']
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/926#issuecomment-33907196
.
... for my own nefarious purposes, of course. 👽
The text was updated successfully, but these errors were encountered: