Closed ntnyq closed 1 year ago
As it says in readme, all options command supported are also supported by defineConfig function.
defineConfig
However the generic type of defineConfig is CommonOptions which doesn't cover all command options.
CommonOptions
https://github.com/antfu/taze/blob/b2f8bdd9a69e5b3c66343887faa4094d9ffcce45/src/index.ts#L9
Create a taze.config.ts file with content from https://github.com/antfu/taze#config-file will repro the issue.
taze.config.ts
https://github.com/antfu/taze#config-file
none.
pnpm
There is indeed this issue, and I have submitted a PR to fix it.
Describe the bug
As it says in readme, all options command supported are also supported by
defineConfig
function.However the generic type of
defineConfig
isCommonOptions
which doesn't cover all command options.https://github.com/antfu/taze/blob/b2f8bdd9a69e5b3c66343887faa4094d9ffcce45/src/index.ts#L9
Create a
taze.config.ts
file with content from https://github.com/antfu/taze#config-file will repro the issue.Reproduction
https://github.com/antfu/taze#config-file
System Info
Used Package Manager
pnpm
Validations