We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
failOnWarn
1 parent 1c4f845 commit 245e76cCopy full SHA for 245e76c
src/config/index.ts
@@ -188,7 +188,7 @@ async function resolveUserConfig(
188
clean = true,
189
silent = false,
190
logLevel = silent ? 'silent' : 'info',
191
- failOnWarn = false,
+ failOnWarn = 'ci-only',
192
customLogger,
193
treeshake = true,
194
platform = 'node',
src/config/types.ts
@@ -362,7 +362,7 @@ export interface UserConfig {
362
logLevel?: LogLevel
363
/**
364
* If true, fails the build on warnings.
365
- * @default false
+ * @default 'ci-only'
366
*/
367
failOnWarn?: boolean | CIOption
368
0 commit comments