An open API service indexing awesome lists of open source software.

https://github.com/birchill/react-cosmos-plugin-rspack

React cosmos plugin for rspack
https://github.com/birchill/react-cosmos-plugin-rspack

cosmos react rspack

Last synced: about 1 month ago
JSON representation

React cosmos plugin for rspack

Awesome Lists containing this project

README

          

# React Cosmos `rspack` plugin

Allows building / running React Cosmos using
[`rspack`](https://www.rspack.dev/).

## Installation

Install the package:

```
npm install -D react-cosmos-plugin-rspack
```

Add the plugin to your `cosmos.config.json`, e.g.:

```diff
{
"$schema": "http://json.schemastore.org/cosmos-config",
+ "plugins": ["react-cosmos-plugin-rspack"],
"dom": {
"containerQuerySelector": "#container"
}
}
```