Skip to content
Snippets Groups Projects
turbo.json 825 B
Newer Older
  • Learn to ignore specific revisions
  • {
      "$schema": "https://turbo.build/schema.json",
      "globalDependencies": ["**/.env*"],
      "pipeline": {
    
        "build-env": {
          "dependsOn": ["^build-env"],
          "outputs": ["dist/**"]
        },
        "preview": {
          "dependsOn": ["^preview"],
          "outputs": ["dist/**", ".next/**"]
        },
    
        "build": {
          "dependsOn": ["^build"],
          "outputs": ["dist/**", ".next/**"]
        },
        "build-dev": {
          "dependsOn": ["^build-dev"],
          "outputs": ["dist/**", ".next/**"]
        },
        "lint": {
          "outputs": []
        },
        "test": {},
        "dev": {
    
          "cache": false,
          "persistent": true
    
        },
        "sb": {
          "outputs": ["storybook-static/**"]
    
        },
        "push": {
          "dependsOn": ["^lint", "^test", "^build"],
          "outputs": ["dist/**", ".next/**"]