Skip to content

Commit

Permalink
also exclude scripts from optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBradley committed Jun 19, 2023
1 parent 6e691b1 commit 788816e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -29,7 +27,7 @@
"extractLicenses": true,
"vendorChunk": false,
"optimization": {
"scripts": true,
"scripts": false,
"styles": {
"minify": true,
"inlineCritical": true
Expand Down Expand Up @@ -194,10 +192,7 @@
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
}
}
Expand Down

0 comments on commit 788816e

Please sign in to comment.