Skip to content

[Feature]: Decouple the Playground wasm from the website build #1590

Description

@elecmonkey

Currently Rslint's website builds the wasm in full at build time to serve the Playground, which makes the website build slow and prone to failure. These two can be decoupled — as Rspack's Playground does: the wasm ships inside the published @rspack/browser package, and the Playground loads it from jsDelivr at runtime by the version the user selects. Rslint could do the same, having the Playground fetch the wasm from a CDN, which would additionally let users switch between released versions.

I’d like to know whether the maintainers think this proposal makes sense. Thanks.

Follow: #1589

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions