Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork450
Conversation
PawelGawlikDev commentedMar 15, 2025
Realy cool idea. Vite is amazing tool. How long might it take to get this into production? |
pippinmole commentedMar 15, 2025
Thanks, This branch is simply a playground to see if it would be easy to refactor the codebase to use Vite instead of Parcel. I don't know much about Vite, and so if you'd like to help please let me know! |
ObinnaAka commentedMar 19, 2025
Would love this as well. Run into segmentation faults many times |
flexchar commentedMar 19, 2025
Have you considered looking into Bun as a compiler too? It has recently introduced React HMR and is really fast in many ways. I already use it to compile many functions and main content scripts that Plasmo just copy-pastes into the output. I do this since at some point in the past Plasmo began lagging a lot, slow compiles, and out-dated changes (one of those stale open issues with no clear reason as to why). That being said, thousand times thank you for doing this! Maybe we could also draw inspiration fromhttps://github.com/wxt-dev/wxt. Recently read their entire documentation and there are a lot of nice things. Or maybe we could join forces and merge Plasmo into WXT (easier migration) and help build one universal tool to hide the pain away that browsers provide. My two cents. |
pippinmole commentedMar 19, 2025
Hi@flexchar, thanks for your comment.
I have not, but it's definitely an option. Will look into it
Is your project quite large? Either way, I think moving from Parcel to Vite will hopefully improve performance enough for it not to matter. We will see.
You are welcome. Please do note that this is simply a playground as I've mentioned before - I have no prior experience with Vite, and so it's all a learning experience for me. I'm also a relatively new contributor to Plasmo and so am learning the codebase too. Help is welcomed! |
Uh oh!
There was an error while loading.Please reload this page.
Note
If you would like to help on this branch, please message me on Discord:
pippin_moleDetails
This PR replaces the Parcel bundler with Vite, fixing various bugs such as segmentation faults.
Code of Conduct
Contacts
If your PR is accepted, we will award you with the
Contributorrole on Discord server.To join the server, visit:https://www.plasmo.com/s/d