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
I'm trying to use this package to support a Chrome extension I am writing - the only issue in the use of window (which is undefined in the Chrome extension context) - is it possible to remove the dependency of this package on being able to access window?
The text was updated successfully, but these errors were encountered:
Hi @mlduff, thanks for the feedback!
Does your extension have a build step (e.g., Rollup or similar) or are you downloading best-bible and using it directly?
If you have a build step, you should be able to use the package just like any other ESM package, without any reliance on window. The browser specific version is for webpages without a build step.
However, I am working on a chrome variant of the library for use in extensions (more easily) and will let you know when I finish it.
I'm trying to use this package to support a Chrome extension I am writing - the only issue in the use of
window
(which is undefined in the Chrome extension context) - is it possible to remove the dependency of this package on being able to accesswindow
?The text was updated successfully, but these errors were encountered: