From 788816e4c0a678e06235fcaa1f287db439f9c385 Mon Sep 17 00:00:00 2001 From: Sam Bradley Date: Mon, 19 Jun 2023 12:09:45 +0800 Subject: [PATCH] also exclude scripts from optimisation --- angular.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/angular.json b/angular.json index 27dbe2ba..4d30e421 100644 --- a/angular.json +++ b/angular.json @@ -2,9 +2,7 @@ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "cli": { "analytics": false, - "schematicCollections": [ - "@angular-eslint/schematics" - ] + "schematicCollections": ["@angular-eslint/schematics"] }, "version": 1, "newProjectRoot": "projects", @@ -29,7 +27,7 @@ "extractLicenses": true, "vendorChunk": false, "optimization": { - "scripts": true, + "scripts": false, "styles": { "minify": true, "inlineCritical": true @@ -194,10 +192,7 @@ "lint": { "builder": "@angular-eslint/builder:lint", "options": { - "lintFilePatterns": [ - "src/**/*.ts", - "src/**/*.html" - ] + "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] } } }