alloc / alloc/saus

Replace magic-string in SSR bundles with a bare bones replacement

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
backlog enhancement runtime
Dominant language
TypeScript
Stars
38
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The `magic-string` package is 19.5kb minified, and we don't actually need all those features. For example, it can produce sourcemaps, but SSR bundles work with pre-compiled JS modules, so there's no use case for sourcemap generation. In the SSR bundle, `magic-string` is only used in HTML manipulation, where sourcemaps aren't supported.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.