rspack plugin for React Cosmos
npm install react-cosmos-plugin-rspackrspack pluginAllows building / running React Cosmos usingrspack.
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"
}
}
The easiest way to develop is using yalc.
Install it globally and then from this repo do:
``
yalc publish
Then in your project that is using React Cosmos run:
```
yalc add react-cosmos-plugin-rspack