SolidJSS
SolidJSโ€ข2y agoโ€ข
3 replies
guido

Why is solid start dev site so heavy?

I ran pnpm create solid, picked the basic template, then ran
dev
to encounter almost 10mb of js being loaded. I'm aware that building will minify, bundle and tree shake most of this, but building takes almost 6 seconds to build an empty app, even when building after a succesful build.

Something as equally confusing is that the heaviest resource is 1.5mb of shikiji, a syntax highlighter.

I found this issue, maybe related? https://github.com/solidjs/solid-start/issues/1281
GitHub
Duplicates I have searched the existing issues Latest version I have tested the latest version Current behavior ๐Ÿ˜ฏ onig.wasm from shikiji is emitted as asset in build. Expected behavior ๐Ÿค” No onig.wa...
[Bug?]: onig.wasm from shikiji in build output ยท Issue #1281 ยท soli...
Was this page helpful?