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
Allow and build both pages, ideally build a single background.js file without generating two separate bundles.
馃敠 Context
Chrome has been open to allowing the scripts property in the manifest without throwing, however this hasn't been fixed in several months. It would be great for Parcel to start supporting it as soon as possible so that we don't have to wait any longer once Chrome supports it.
馃悰 bug report
Parcel supports either
background.service_worker
orbackground.scripts
, but not both.Firefox supports
background.scripts
, but warns that it doesn't support the other one.Chrome won't load a manifest that has
background.scripts
馃帥 Configuration (.babelrc, package.json, cli command)
馃 Expected Behavior
Parcel should build both, so that the extension can (eventually) be loaded in both browsers
馃槸 Current Behavior
馃拋 Possible Solution
Allow and build both pages, ideally build a single
background.js
file without generating two separate bundles.馃敠 Context
Chrome has been open to allowing the
scripts
property in the manifest without throwing, however this hasn't been fixed in several months. It would be great for Parcel to start supporting it as soon as possible so that we don't have to wait any longer once Chrome supports it.馃捇 Code Sample
"scripts": ["background.js"],
to its manifest馃實 Your Environment
The text was updated successfully, but these errors were encountered: