Replies: 1 comment
-
The demo page itself only has very few assets so I don't think it would help much to bundle them. Not to mention the downloading all of the resources is less than 500 kb. It might shave off a few ms but nothing noticeable even on slow connections. The things that is the slowest is the marked worker has to downloading marked and I don't think vite or anything will fix that and still allow the flexibility to load different versions like we do. I would be happy to be wrong, so if you want to put together a PR and it still has all of the functionality of the current demo I'm ok with a toolchain. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to contribute to the demo page and noticed that it uses raw web assets. This is perfectly fine and aids readability, but a few worries can be elevated by using a toolchain (such as vite or parcel).
Pros:
Cons:
.md
files, as well as the website being a module (will add extra complexity to the repository's filesystem -- turning it into a workspace.This is mainly just for consideration, but it can significantly help with the demo page contributing.
Beta Was this translation helpful? Give feedback.
All reactions