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
- Host: GitHub
- URL: https://github.com/birchill/react-cosmos-plugin-rspack
- Owner: birchill
- Created: 2024-01-08T12:42:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-10T06:24:59.000Z (3 months ago)
- Last Synced: 2026-04-06T10:10:52.757Z (2 months ago)
- Topics: cosmos, react, rspack
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/react-cosmos-plugin-rspack
- Size: 416 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-rstack - react-cosmos-plugin-rspack
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"
}
}
```