WIth MWS you should use a different approach. Plugin libraries do have a special format. Using them with MWS makes everything more complex. For admins and users.
MWS already has a bag-system. So if admins want to use 3rd party libraries,
- They should install them with the normal drag & drop or import mechanism into an eg:
my-libs
bag.
- Then they should tell their users to include this bag into their recipe
Done
That’s simple for admins and it also includes the possibility to install several related and preconfigured plugins into one bag. – If that’s needed.
It also makes maintenance easier. Since an admin can update and test newer plugins. So users do not have to test new plugins for compatibility individually.
We did use this mechanism extensively with TiddlySpace. Where every plugin had it’s own recipe with documentation. This recipe also used the plugin-bag. So the docs can be separated from the plugin. So user only include the plugin bag with minimal documentation. Or if they want they can also include the documentation bag. It’s their decision.
If users want to install plugins that are not prepared they can do so in the same ways as they do now. So no additional maintenance work for admins necessary.
More experienced users can manage their own plugin-bags as described above. So the mechanism for users and admins is the same.
The recipe and bag system was designed to be used that way. The single file plugin-library handling is much more complex, due to browser CORS restrictions.
Using bags to include libraries into user recipes also has the advantage, that the MWS authentication system can be used.