alloc / alloc/saus

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

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
backlog enhancement runtime
Lingua principale
TypeScript
Stelle
38
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.