New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG | use the latest network API of V3 #52
Comments
Thanks for the report! We'll look into resolving this soon. |
This should be fixed in parcel-bundler/parcel#8189, and since latest plasmo is using parcel 2.6.2 (which includes the fix), I think all you need to do is upgrade plasmo to latest version @deno-source Also, for this case, you do not need to use the
|
Future note: we might want to add this to our documentation |
That's great! That solved my puzzle! Thank you very much for your answer! |
I want to inject a script, using the ~ method does not seem to work, is there any other way, indexJS does not depend on any, this is a separate script |
@deno-source https://docs.plasmo.com/workflows/content-scripts#importing-web-accessible-resources (do this in a content script that wake up your background script with the path to the bundled index.js) |
I use it in background-js |
Also, I don't want this file to be packed and compressed. |
What happened?
I want to use the latest network API of V3, but it seems that it is not very friendly to JSON files after compilation, and it becomes a JS file.
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contact Details
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: