Skip to content

Commit 3780222

Browse files
committed
fix(lib): upgraded the lib to angular v9
1 parent 309dd29 commit 3780222

14 files changed

+13300
-11165
lines changed

angular.json

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"main": "src/main.ts",
2323
"polyfills": "src/polyfills.ts",
2424
"tsConfig": "tsconfig.app.json",
25-
"aot": false,
25+
"aot": true,
2626
"assets": [
2727
"src/favicon.ico",
2828
"src/assets"
@@ -50,7 +50,6 @@
5050
"sourceMap": false,
5151
"extractCss": true,
5252
"namedChunks": false,
53-
"aot": true,
5453
"extractLicenses": true,
5554
"vendorChunk": false,
5655
"buildOptimizer": true,
@@ -133,7 +132,7 @@
133132
"builder": "@angular-devkit/build-angular:server",
134133
"options": {
135134
"outputPath": "dist/server",
136-
"main": "src/main.server.ts",
135+
"main": "server.ts",
137136
"tsConfig": "tsconfig.server.json"
138137
},
139138
"configurations": {
@@ -145,16 +144,39 @@
145144
}
146145
],
147146
"sourceMap": false,
148-
"optimization": {
149-
"scripts": false,
150-
"styles": true
151-
}
147+
"optimization": true
152148
}
153149
}
154150
},
155151
"deploy": {
156152
"builder": "angular-cli-ghpages:deploy",
157153
"options": {}
154+
},
155+
"serve-ssr": {
156+
"builder": "@nguniversal/builders:ssr-dev-server",
157+
"options": {
158+
"browserTarget": "fab-menu:build",
159+
"serverTarget": "fab-menu:server"
160+
},
161+
"configurations": {
162+
"production": {
163+
"browserTarget": "fab-menu:build:production",
164+
"serverTarget": "fab-menu:server:production"
165+
}
166+
}
167+
},
168+
"prerender": {
169+
"builder": "@nguniversal/builders:prerender",
170+
"options": {
171+
"browserTarget": "fab-menu:build:production",
172+
"serverTarget": "fab-menu:server:production",
173+
"routes": [
174+
"/"
175+
]
176+
},
177+
"configurations": {
178+
"production": {}
179+
}
158180
}
159181
}
160182
},
@@ -169,6 +191,11 @@
169191
"options": {
170192
"tsConfig": "projects/angular-material-extensions/fab-menu/tsconfig.lib.json",
171193
"project": "projects/angular-material-extensions/fab-menu/ng-package.json"
194+
},
195+
"configurations": {
196+
"production": {
197+
"tsConfig": "projects/angular-material-extensions/fab-menu/tsconfig.lib.prod.json"
198+
}
172199
}
173200
},
174201
"test": {
@@ -194,5 +221,8 @@
194221
}
195222
}
196223
},
197-
"defaultProject": "fab-menu"
224+
"defaultProject": "fab-menu",
225+
"cli": {
226+
"analytics": "99687168-ab12-48d5-a2c4-35f8907842aa"
227+
}
198228
}

0 commit comments

Comments
 (0)