Skip to content

Turborepo Build Caching #199

@KubrickCode

Description

@KubrickCode

Reduce build times by up to 90% with build caching.

// turbo.json
{
  "pipeline": {
    "build": {
      "dependsOn": ["^build"],
      "outputs": ["dist/**", "view-dist/**", "out/**"],
      "cache": true
    },
    "test": {
      "dependsOn": ["build"],
      "outputs": ["coverage/**"],
      "cache": true
    }
  }
}

Metadata

Metadata

Assignees

Labels

environmentOverall working environmentimprovementImprovements to existing features

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions