diff --git a/bizmatch/angular.json b/bizmatch/angular.json index eb621ff..b9b8b2b 100644 --- a/bizmatch/angular.json +++ b/bizmatch/angular.json @@ -21,6 +21,11 @@ "outputPath": "dist/bizmatch", "index": "src/index.html", "browser": "src/main.ts", + "server": "src/main.server.ts", + "prerender": false, + "ssr": { + "entry": "server.ts" + }, "allowedCommonJsDependencies": [ "quill-delta", "leaflet", @@ -48,7 +53,10 @@ ], "styles": [ "src/styles.scss", - "src/styles/lazy-load.css" + "src/styles/lazy-load.css", + "node_modules/quill/dist/quill.snow.css", + "node_modules/leaflet/dist/leaflet.css", + "node_modules/ngx-sharebuttons/themes/default.scss" ] }, "configurations": { @@ -61,8 +69,8 @@ }, { "type": "anyComponentStyle", - "maximumWarning": "10kb", - "maximumError": "30kb" + "maximumWarning": "2kb", + "maximumError": "4kb" } ], "outputHashing": "all" @@ -70,7 +78,8 @@ "development": { "optimization": false, "extractLicenses": false, - "sourceMap": true + "sourceMap": true, + "ssr": false }, "dev": { "fileReplacements": [