diff --git a/angular.json b/angular.json index 727ebd6..584d31a 100644 --- a/angular.json +++ b/angular.json @@ -18,7 +18,6 @@ "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.app.json", - "aot": true, "assets": [ "src/404.html", "src/assets", @@ -36,7 +35,13 @@ "node_modules/prismjs/components/prism-css.min.js", "node_modules/prismjs/components/prism-python.min.js", "node_modules/prismjs/components/prism-java.js" - ] + ], + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true }, "configurations": { "production": { @@ -46,7 +51,14 @@ "with": "src/environments/environment.prod.ts" } ], - "optimization": true, + "optimization": { + "scripts": true, + "styles": { + "minify": true, + "inlineCritical": false + }, + "fonts": true + }, "outputHashing": "all", "sourceMap": false, "namedChunks": false, @@ -66,7 +78,8 @@ } ] } - } + }, + "defaultConfiguration": "" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", diff --git a/docs/index.html b/docs/index.html index 48448bf..e835e24 100644 --- a/docs/index.html +++ b/docs/index.html @@ -57,8 +57,8 @@ }(window.location)) - +