PD
🧩 Plasmo Developersliam47.
Web Worker
hey im working with a web worker and it seems to be huge in dev but much smaller in the prod build. Is there a sprint I can make/run to bundle the worker so i can use that version in dev also as it takes a long time for it to mount in dev?
isibbot•2d ago
@liam47. No expert in plasmo but usually the build tooling just bundles extra debug info like source maps etc that allow you to debug whilst developing. You can tell plasmo to not compile the source maps like so
plasmo dev --no-source-maps
or add it to the npm scripts for convienence dev:lite: "plasmo dev --no-source-maps"
etc. BUT I would say that this is probably not the problem. The bundle size of the plasmo extension isnt really going to slow the perceived load of the extension that much (caveated that I have no knowledge of your code and what your importing etc)2.1KMembers
View on DiscordWant results from more Discord servers?
More PostsCertainly! To bundle a resource withCertainly! To bundle a resource with Plasmo, you can utilize tools like Webpack or Parcel to packageIntegrating Web Authentication with Plasmo ExtensionI'm new to Plasmo and currently working on creating a Vue extension. My web application utilizes CleUsing Stripe and setup an API inside the extensionHello !
I am able to make queries to stripe using what was explained on the website :
https://docError with messagingHey, im trying to send a message from a content script in the main world to the background.
For that