-
-
Notifications
You must be signed in to change notification settings - Fork 451
Refactor/vite playground #1244
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
base: main
Are you sure you want to change the base?
Refactor/vite playground #1244
Conversation
|
Realy cool idea. Vite is amazing tool. How long might it take to get this into production? |
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! |
|
Would love this as well. Run into segmentation faults many times |
|
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 from https://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. |
|
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! |
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