Skip to content

Commit b84b480

Browse files
docs: Document build config options
1 parent 8458633 commit b84b480

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/build/index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import type { UserConfig } from 'vite'
22

33
export type Options = {
4+
/** Entry file, e.g. `./src/index.ts` */
45
entry: string | string[]
6+
/** Source directory used for type generation, e.g. `./src` */
57
srcDir: string
8+
/** Excluded from type generation, e.g. `[./src/tests]` */
69
exclude?: string[]
710
}
811

0 commit comments

Comments
 (0)