Replace magic-string in SSR bundles with a bare bones replacement
Open
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.