Hello,
In my case, my plugin uses HandlebarsJs library in the Jira Server product's issue view screen. But also there is another plugin loading the same library with a different version, then there occures conflicts.
How should I manage this? Any idea helps a lot to me, thanks.
You can try load handlebars not as a global instance.
You can try this Handlebars.noConflict(), see https://handlebarsjs.com/api-reference/runtime.html#handlebars-registerdecorator-name-helper-deprecated
Thank you for reply, if I use Handlebars.noConflict(), my plugin works but the other vendor's plugin becomes unstable. So the best option was to change the export name of the library and use it like that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid your only option is to include the same version of the library in your app. (or if you know you're going to always use the other app, don't include it at all)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One of the customers use them both, changing the export name of the library and use it like that become the best option. Thank you for the response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.