How do I check the size of my Plasmo cache
The cache is located in
.plasmo/cache. The size of these files are the size of your cache.Styling React components and ShadowDOM usage
Morning y'all, long time no see.
Quite a while ago I removed the ShadowDOM implementation and injected the content script directly onto the root tree. I don't remember exactly why, I think it was an issue with font loading that I only got around when not using the shadow DOM.
Anyways, that decision has ended up biting my ass back, and now I'm dealing with a lot of inconsistencies in the styling between sites due to the site styles bleeding into the extension. I've removed the getRootContainer export from my content script, and it's now in the Shadow DOM again... But it has absolutely no styling. Not from the site, not from the extension, nothing. It's just the HTML from the components....
Cannot run `plasmo dev`
Started happening after I upgraded to version
0.59.3-alpha-0
```yaml
[ThrowableDiagnostic [Error]: The plugin "@parcel/reporter-dev-server" is not compatible with the current version of Parcel. Requires "^2.8.0" but the current version is "2.0.0-nightly.1210+334e8a5ca".] {
diagnostics: [
{...How to use AMO's API to push an update
A folk at https://github.com/mozilla/addons/issues/1446 tried to help by referring to https://github.com/mozilla/web-ext/blob/master/src/util/submit-addon.js, but I couldn't get it to work despite copying the lines of
putVersion
Any idea what is missing?...CSUI without ShadowDOM
From @tyn1998
Ref: https://discord.com/channels/946290204443025438/946290204904390690/1044536470133809182
I'm developing an extension called which injects some charts to GitHub pages. Recently I consider to refactor the project with the great framework Plasmo and I read about the article about "CSUI" which points out that Plasmo makes use of shadowDOM to inject the UI, so host page's stylesheet won't affect the CSUI we inject into the page....
Cannot start Plasmo
I have a project in which I can run ...
plasmo
But, on another, it just gives me the error
plasmo: The term 'plasmo' is not recognized as a name of a cmdlet, function, script file, or executable program.
plasmo: The term 'plasmo' is not recognized as a name of a cmdlet, function, script file, or executable program.
Cannot inject Svelte CSUI
As last mentioned here: https://discord.com/channels/946290204443025438/1030101809039163452
