next build でLinterのエラーが出ても正常終了になった件を調べる(中断)
next build で実行されるコードを見る
code:_(ts)
return build(
dir,
args'--debug' || process.env.NEXT_DEBUG_BUILD, !!process.env.TURBOPACK,
).catch((err) => {
build()
code:_(ts)
export default async function build(
dir: string,
reactProductionProfiling = false,
debugOutput = false,
runLint = true,
noMangling = false,
appDirOnly = false,
turboNextBuild = false,
turboNextBuildRoot = null,
buildMode: 'default' | 'experimental-compile' | 'experimental-generate'
): Promise<void> {
runLint
code:_(ts)
const shouldLint = !ignoreESLint && runLint
souhldLint
code:_(ts)
const buildLintEvent: EventBuildFeatureUsage = {
featureName: 'build-lint',
invocationCount: shouldLint ? 1 : 0,
}
buildLIntEvent
これ以上はなさそう
typeCheckingOptions
code:_