Skip to content

Conversation

@kcooney
Copy link

@kcooney kcooney commented Jan 19, 2025

Since import.meta.url is a runtime feature, it will not exist if the menu.js code is bundled. This change updates scriptPath() to check if import.meta.url exists before trying to dereferencing it, enabling the calculation of options.path to fallback to 'plugin/menu/'.

Since import.meta.url is a runtime feature, it will not exist if the
menu.js code is bundled. This change updates scriptPath() to check if
import.meta.url exists before trying to dereferencing it, enabling the
calculation of options.path to fallback to 'plugin/menu/'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant