Skip to content
Blogs
Go back

Configuring build cache in Angular App

Adding cache in anular.json

{
    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
    "version": 1,
    "newProjectRoot": "projects",
    "projects"
    {
        ...
    },
    "cli": {
        "cache": {
            "enabled": true, // select true or false
            "environment": "all", // select all, ci or local
            "path": "temp/cache/.angular" // folder name where it should add
        }
    }
}

Share this post:

Previous Post
Command to generate new new app in current app
Next Post
List of GitHub Repositories with public API's