mirror of
https://github.com/vercel-labs/json-render.git
synced 2026-10-29 07:43:25 +08:00
* solid: add renderer implementation This adds a Solid renderer with the same core capabilities as the existing framework packages, including typed registry helpers, providers, streaming hooks, docs, and example integration. * fix: solid reactivity bugs in validation + state --------- Co-authored-by: Patrick <phall@Patricks-MacBook-Pro.local>
13 lines
353 B
TypeScript
13 lines
353 B
TypeScript
import { defineConfig } from "tsup";
|
|
import { solidPlugin } from "esbuild-plugin-solid";
|
|
|
|
export default defineConfig({
|
|
entry: ["src/index.ts", "src/schema.ts"],
|
|
format: ["cjs", "esm"],
|
|
dts: true,
|
|
sourcemap: true,
|
|
clean: true,
|
|
esbuildPlugins: [solidPlugin({ solid: { generate: "dom" } })],
|
|
external: ["solid-js", "@json-render/core"],
|
|
});
|