|
17 | 17 | "build": {
|
18 | 18 | "builder": "@angular-devkit/build-angular:browser",
|
19 | 19 | "options": {
|
20 |
| - "outputPath": "dist/select-icon", |
| 20 | + "outputPath": "dist/select-icon/browser", |
21 | 21 | "index": "src/index.html",
|
22 | 22 | "main": "src/main.ts",
|
23 | 23 | "polyfills": "src/polyfills.ts",
|
|
105 | 105 | "tsConfig": [
|
106 | 106 | "tsconfig.app.json",
|
107 | 107 | "tsconfig.spec.json",
|
108 |
| - "e2e/tsconfig.json" |
| 108 | + "e2e/tsconfig.json", |
| 109 | + "tsconfig.server.json" |
109 | 110 | ],
|
110 | 111 | "exclude": [
|
111 | 112 | "**/node_modules/**"
|
|
123 | 124 | "devServerTarget": "select-icon:serve:production"
|
124 | 125 | }
|
125 | 126 | }
|
| 127 | + }, |
| 128 | + "server": { |
| 129 | + "builder": "@angular-devkit/build-angular:server", |
| 130 | + "options": { |
| 131 | + "outputPath": "dist/select-icon/server", |
| 132 | + "main": "server.ts", |
| 133 | + "tsConfig": "tsconfig.server.json" |
| 134 | + }, |
| 135 | + "configurations": { |
| 136 | + "production": { |
| 137 | + "outputHashing": "media", |
| 138 | + "fileReplacements": [ |
| 139 | + { |
| 140 | + "replace": "src/environments/environment.ts", |
| 141 | + "with": "src/environments/environment.prod.ts" |
| 142 | + } |
| 143 | + ], |
| 144 | + "sourceMap": false, |
| 145 | + "optimization": true |
| 146 | + } |
| 147 | + } |
| 148 | + }, |
| 149 | + "serve-ssr": { |
| 150 | + "builder": "@nguniversal/builders:ssr-dev-server", |
| 151 | + "options": { |
| 152 | + "browserTarget": "select-icon:build", |
| 153 | + "serverTarget": "select-icon:server" |
| 154 | + }, |
| 155 | + "configurations": { |
| 156 | + "production": { |
| 157 | + "browserTarget": "select-icon:build:production", |
| 158 | + "serverTarget": "select-icon:server:production" |
| 159 | + } |
| 160 | + } |
| 161 | + }, |
| 162 | + "prerender": { |
| 163 | + "builder": "@nguniversal/builders:prerender", |
| 164 | + "options": { |
| 165 | + "browserTarget": "select-icon:build:production", |
| 166 | + "serverTarget": "select-icon:server:production", |
| 167 | + "routes": [ |
| 168 | + "/" |
| 169 | + ] |
| 170 | + }, |
| 171 | + "configurations": { |
| 172 | + "production": {} |
| 173 | + } |
| 174 | + } |
| 175 | + } |
| 176 | + }, |
| 177 | + "@angular-material-extensions/select-icon": { |
| 178 | + "projectType": "library", |
| 179 | + "root": "projects/angular-material-extensions/select-icon", |
| 180 | + "sourceRoot": "projects/angular-material-extensions/select-icon/src", |
| 181 | + "prefix": "lib", |
| 182 | + "architect": { |
| 183 | + "build": { |
| 184 | + "builder": "@angular-devkit/build-ng-packagr:build", |
| 185 | + "options": { |
| 186 | + "tsConfig": "projects/angular-material-extensions/select-icon/tsconfig.lib.json", |
| 187 | + "project": "projects/angular-material-extensions/select-icon/ng-package.json" |
| 188 | + }, |
| 189 | + "configurations": { |
| 190 | + "production": { |
| 191 | + "tsConfig": "projects/angular-material-extensions/select-icon/tsconfig.lib.prod.json" |
| 192 | + } |
| 193 | + } |
| 194 | + }, |
| 195 | + "test": { |
| 196 | + "builder": "@angular-devkit/build-angular:karma", |
| 197 | + "options": { |
| 198 | + "main": "projects/angular-material-extensions/select-icon/src/test.ts", |
| 199 | + "tsConfig": "projects/angular-material-extensions/select-icon/tsconfig.spec.json", |
| 200 | + "karmaConfig": "projects/angular-material-extensions/select-icon/karma.conf.js" |
| 201 | + } |
| 202 | + }, |
| 203 | + "lint": { |
| 204 | + "builder": "@angular-devkit/build-angular:tslint", |
| 205 | + "options": { |
| 206 | + "tsConfig": [ |
| 207 | + "projects/angular-material-extensions/select-icon/tsconfig.lib.json", |
| 208 | + "projects/angular-material-extensions/select-icon/tsconfig.spec.json" |
| 209 | + ], |
| 210 | + "exclude": [ |
| 211 | + "**/node_modules/**" |
| 212 | + ] |
| 213 | + } |
126 | 214 | }
|
127 | 215 | }
|
128 | 216 | }
|
|
0 commit comments