alloc / alloc/saus

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

Đang mở
#31 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
backlog enhancement runtime
Ngôn ngữ chính
TypeScript
Star
38
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.