react-cosmos-plugin-rspack

1.0.0 • Public • Published

React Cosmos rspack plugin

Allows building / running React Cosmos using rspack.

Installation

Install the package:

npm install -D react-cosmos-plugin-rspack

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

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

Developing

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

Readme

Keywords

none

Package Sidebar

Install

npm i react-cosmos-plugin-rspack

Weekly Downloads

375

Version

1.0.0

License

MIT

Unpacked Size

832 kB

Total Files

10

Last publish

Collaborators

  • birtles