Skip to content

Commit 245e76c

Browse files
authored
feat!: enable failOnWarn by default in CI (#617)
1 parent 1c4f845 commit 245e76c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ async function resolveUserConfig(
188188
clean = true,
189189
silent = false,
190190
logLevel = silent ? 'silent' : 'info',
191-
failOnWarn = false,
191+
failOnWarn = 'ci-only',
192192
customLogger,
193193
treeshake = true,
194194
platform = 'node',

src/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ export interface UserConfig {
362362
logLevel?: LogLevel
363363
/**
364364
* If true, fails the build on warnings.
365-
* @default false
365+
* @default 'ci-only'
366366
*/
367367
failOnWarn?: boolean | CIOption
368368
/**

0 commit comments

Comments
 (0)