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
My extension executes the content script and inserts its CSS dynamically (not with help of content_scripts section of manifest.json) from popup script with chrome.tabs.executeScript and chrome.tabs.insertCSS functions calls.
Is it possible to extend the functionality to catch extension files not only from manifest.json, or, in such case, I need to add them manually as parcel command parameter?
The text was updated successfully, but these errors were encountered:
The import.meta.url is picked up by parcel so it resolves to the correct file. The .pathname.slice(1) is because the paths should be relative to the extension root.
My extension executes the content script and inserts its CSS dynamically (not with help of
content_scripts
section ofmanifest.json
) from popup script withchrome.tabs.executeScript
andchrome.tabs.insertCSS
functions calls.Is it possible to extend the functionality to catch extension files not only from
manifest.json
, or, in such case, I need to add them manually asparcel
command parameter?The text was updated successfully, but these errors were encountered: