Replace magic-string in SSR bundles with a bare bones replacement
未關閉
backlog
enhancement
runtime
- 主要語言
- TypeScript
- 星號
- 38
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。