From c4b400f4197f939903e8abab3cc9761e17488827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Sun, 23 Feb 2025 16:20:40 +0800 Subject: [PATCH] fix(xsschema): pre-compile types --- packages/xsschema/tsup.config.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/xsschema/tsup.config.ts diff --git a/packages/xsschema/tsup.config.ts b/packages/xsschema/tsup.config.ts new file mode 100644 index 00000000..490b0c08 --- /dev/null +++ b/packages/xsschema/tsup.config.ts @@ -0,0 +1,9 @@ +import { defineConfig } from 'tsup' +import defaults from '../../tsup.config' + +export default defineConfig({ + ...defaults, + dts: { + resolve: ['@standard-schema/spec', 'json-schema'] + } +}) \ No newline at end of file