Configuring build cache in Angular App

manthanank

Manthan Ankolekar

Posted on March 1, 2023

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
   }
    }
}
Enter fullscreen mode Exit fullscreen mode
💖 đŸ’Ș 🙅 đŸš©
manthanank
Manthan Ankolekar

Posted on March 1, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Angular Form Array
angular Angular Form Array

November 29, 2024

Can a Solo Developer Build a SaaS App?
undefined Can a Solo Developer Build a SaaS App?

November 29, 2024

Angular's New Feature: Signals
javascript Angular's New Feature: Signals

November 29, 2024