|
1 | 1 | { |
2 | 2 | "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
3 | 3 | "version": 1, |
| 4 | + "cli": { |
| 5 | + "packageManager": "npm" |
| 6 | + }, |
4 | 7 | "newProjectRoot": "projects", |
5 | 8 | "projects": { |
6 | 9 | "ng-mlc": { |
|
11 | 14 | "prefix": "app", |
12 | 15 | "architect": { |
13 | 16 | "build": { |
14 | | - "builder": "@angular-builders/custom-esbuild:application", |
| 17 | + "builder": "@angular/build:application", |
15 | 18 | "options": { |
16 | | - "outputPath": "dist/ng-mlc", |
17 | | - "index": "src/index.html", |
18 | 19 | "browser": "src/main.ts", |
19 | 20 | "tsConfig": "tsconfig.json", |
20 | | - // "plugins": ["./node_modules/@codingame/esbuild-import-meta-url-plugin/dist/esbuildImportMetaUrlPlugin.js"], |
21 | 21 | "polyfills": [ |
22 | 22 | "zone.js" |
23 | 23 | ], |
24 | | - "assets": [], |
25 | | - "styles": [], |
26 | | - "scripts": [], |
27 | | - "aot": false, |
28 | | - "optimization": false, |
29 | | - "sourceMap": true, |
30 | | - "namedChunks": false, |
31 | | - "extractLicenses": false, |
32 | | - "allowedCommonJsDependencies": [ |
33 | | - "vscode-languageclient", |
34 | | - "vscode-languageserver-protocol", |
35 | | - "vscode-jsonrpc", |
36 | | - "vscode-oniguruma", |
37 | | - "vscode-textmate", |
38 | | - "@vscode/iconv-lite-umd" |
| 24 | + "assets": [ |
| 25 | + { |
| 26 | + "glob": "**/*", |
| 27 | + "input": "public" |
| 28 | + } |
39 | 29 | ] |
40 | 30 | }, |
41 | 31 | "configurations": { |
42 | 32 | "production": { |
43 | | - "aot": true, |
44 | | - "optimization": true, |
45 | | - "sourceMap": false, |
46 | | - "namedChunks": false, |
47 | | - "extractLicenses": true |
| 33 | + "outputHashing": "all" |
48 | 34 | }, |
49 | 35 | "development": { |
| 36 | + "optimization": false, |
| 37 | + "extractLicenses": false, |
| 38 | + "sourceMap": true |
50 | 39 | } |
51 | 40 | }, |
52 | | - "defaultConfiguration": "development" |
| 41 | + "defaultConfiguration": "production" |
53 | 42 | }, |
54 | 43 | "serve": { |
55 | | - "builder": "@angular-builders/custom-esbuild:dev-server", |
| 44 | + "builder": "@angular/build:dev-server", |
56 | 45 | "configurations": { |
57 | 46 | "production": { |
58 | 47 | "buildTarget": "ng-mlc:build:production" |
|
63 | 52 | }, |
64 | 53 | "defaultConfiguration": "development" |
65 | 54 | }, |
66 | | - "extract-i18n": { |
67 | | - "builder": "@angular/build:extract-i18n" |
| 55 | + "test": { |
| 56 | + "builder": "@angular/build:unit-test" |
68 | 57 | } |
69 | 58 | } |
70 | 59 | } |
71 | | - }, |
72 | | - "cli": { |
73 | | - "analytics": false |
74 | 60 | } |
75 | 61 | } |
0 commit comments