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
When using bundle-text to include a file as a text, entries to non-existing files are generated in the "web_accessible_resources" section of the manifest.
An alternative solution would be to use new URL("...", import.meta.url) to include the file as a URL. But for whatever reason this doesn't work in a Safari content script, getting the error ... cannot be parsed as a URL..
For the time being I'm just going to manually delete the entries from the generated manifest to be able to publish the extension update but I will need to find a better solution for the future.
The text was updated successfully, but these errors were encountered:
When using
bundle-text
to include a file as a text, entries to non-existing files are generated in the "web_accessible_resources" section of the manifest.[Web Extension Packager] web_accessible_resources includes bundle-text assets, empty content_scripts.css field · Issue #8850 · parcel-bundler/parcel
An alternative solution would be to use
new URL("...", import.meta.url)
to include the file as a URL. But for whatever reason this doesn't work in a Safari content script, getting the error... cannot be parsed as a URL.
.For the time being I'm just going to manually delete the entries from the generated manifest to be able to publish the extension update but I will need to find a better solution for the future.
The text was updated successfully, but these errors were encountered: