mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-30 07:44:10 +08:00
feat: add cli (#34)
* feat: add cli for toon * docs: use npx in the readme * feat: overhaul and refactor --------- Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
This commit is contained in:
@@ -2,7 +2,10 @@ import type { UserConfig, UserConfigFn } from 'tsdown/config'
|
||||
import { defineConfig } from 'tsdown/config'
|
||||
|
||||
const config: UserConfig | UserConfigFn = defineConfig({
|
||||
entry: ['src/index.ts'],
|
||||
entry: {
|
||||
'index': 'src/index.ts',
|
||||
'cli/index': 'cli/src/index.ts',
|
||||
},
|
||||
dts: true,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user