build: order Host and Client compilation faces

This commit is contained in:
imccyu
2026-08-08 04:20:39 +08:00
parent 8158a0e63a
commit 9c3d5725a5
32 files changed
+440 -184

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import { defineConfig } from 'tsdown'
import { clientOnly } from '../tsdown.client.ts'
/**
* Root and invariant shapes as SEPARATE single-entry bundles: a multi-entry
@@ -8,7 +8,7 @@ import { defineConfig } from 'tsdown'
* runtime — browser consumers resolve this package through the loader module
* table.
*/
export default defineConfig([
export default clientOnly([
{
entry: { index: 'lib/types/index.js' },
outDir: 'lib',