Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactor/vite playground#1244

Draft
pippinmole wants to merge 2 commits intomainfrom
refactor/vite-playground
Draft

Refactor/vite playground#1244
pippinmole wants to merge 2 commits intomainfrom
refactor/vite-playground

Conversation

@pippinmole
Copy link
Collaborator

@pippinmolepippinmole commentedMar 13, 2025
edited
Loading

Note

If you would like to help on this branch, please message me on Discord:pippin_mole

Details

This PR replaces the Parcel bundler with Vite, fixing various bugs such as segmentation faults.

Code of Conduct

  • I agree to follow this project'sCode of Conduct
  • I agree to license this contribution under the MIT LICENSE
  • I checked thecurrent PR for duplication.

Contacts

  • (OPTIONAL) Discord ID:

If your PR is accepted, we will award you with theContributor role on Discord server.

To join the server, visit:https://www.plasmo.com/s/d

flexchar reacted with heart emoji
@pippinmolepippinmole marked this pull request as draftMarch 13, 2025 14:42
@PawelGawlikDev
Copy link

Realy cool idea. Vite is amazing tool. How long might it take to get this into production?

@pippinmole
Copy link
CollaboratorAuthor

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!

@pippinmolepippinmole marked this pull request as ready for reviewMarch 17, 2025 00:22
@pippinmolepippinmole marked this pull request as draftMarch 17, 2025 00:23
@ObinnaAka
Copy link

Would love this as well. Run into segmentation faults many times

@flexchar
Copy link

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.

@pippinmolepippinmole added the help wantedExtra attention is needed labelMar 19, 2025
@pippinmole
Copy link
CollaboratorAuthor

Hi@flexchar, thanks for your comment.

Have you considered looking into Bun as a compiler too?

I have not, but it's definitely an option. Will look into it

I do this since at some point in the past Plasmo began lagging a lot

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.

That being said, thousand times thank you for doing this!

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!

flexchar and ObinnaAka reacted with heart emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

help wantedExtra attention is needed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@pippinmole@PawelGawlikDev@ObinnaAka@flexchar

Comments


[8]ページ先頭

©2009-2026 Movatter.jp