@ts-refinement/rolldown
v0.2.0
Published
Rolldown and tsdown transform for ts-refinement assertions
Downloads
20
Maintainers
Readme
@ts-refinement/rolldown
The compatibility entry point for the Rolldown adapter from @ts-refinement/unplugin. It also
works with tsdown and preserves the original default and refinementTypesPlugin exports.
npm install ts-refinement @ts-refinement/runtime
npm install --save-dev @ts-refinement/rolldown typescript tsdownimport { defineConfig } from "tsdown";
import refinementTypes from "@ts-refinement/rolldown";
export default defineConfig({
entry: ["src/index.ts"],
plugins: [refinementTypes()],
});New integrations can import @ts-refinement/unplugin/rolldown directly. This package depends on
the unified integration and contains only the compatibility re-export.
Use tspc --noEmit for TypeScript 5.7 through 6.x CI diagnostics and ts-refinement verify from
prepack; this compatibility package only supplies the build transform.
See the repository README for configuration and runtime behavior.
