conciv
Quick start

Rspack

Add conciv to an Rspack app.

Rspack works like webpack. The entry boots the engine, and you inject the widget yourself with widgetUrl.

npx conciv@latest init

init detects Rspack from your package.json, installs @conciv/it with your package manager, and adds the @conciv/it/plugin/rspack plugin to your Rspack config. Widget injection stays manual: init prints a card telling you to serve @conciv/widget/global and set widgetUrl.

init prints the whole plan and asks once before it writes anything; --yes approves it up front and --dry-run prints it and exits. It refuses a dirty git tree; commit first or pass --force.

Install

npm install -D @conciv/it

Add the plugin

rspack.config.js
const conciv = require('@conciv/it/plugin/rspack')

module.exports = {
  plugins: [conciv.default()],
}

Inject the widget

The widget bundle ships as @conciv/widget/global. Serve it and set widgetUrl so the script is added to your page. See Configuration.

Rspack is less complete than Vite. The live page bridge is Vite only. Chat, tests, and approvals work once the engine is booted and the widget is on the page.

On this page