Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 1273b88

Browse files
committed
编译优化
1 parent b7de2cb commit 1273b88

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

angular.json

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
4-
"newProjectRoot": "projects",
54
"projects": {
6-
"iot-master-gateway": {
5+
"iot-gateway": {
76
"projectType": "application",
87
"schematics": {
98
"@schematics/angular:component": {
@@ -49,12 +48,7 @@
4948
"inlineStyleLanguage": "scss",
5049
"assets": [
5150
"src/favicon.ico",
52-
"src/assets",
53-
{
54-
"glob": "**/*",
55-
"input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
56-
"output": "/assets/"
57-
}
51+
"src/assets"
5852
],
5953
"styles": [
6054
"src/theme.less",
@@ -92,23 +86,23 @@
9286
"serve": {
9387
"builder": "@angular-devkit/build-angular:dev-server",
9488
"options": {
95-
"browserTarget": "iot-master-gateway:build",
89+
"browserTarget": "iot-gateway:build",
9690
"proxyConfig": "proxy.conf.json"
9791
},
9892
"configurations": {
9993
"production": {
100-
"browserTarget": "iot-master-gateway:build:production"
94+
"browserTarget": "iot-gateway:build:production"
10195
},
10296
"development": {
103-
"browserTarget": "iot-master-gateway:build:development"
97+
"browserTarget": "iot-gateway:build:development"
10498
}
10599
},
106100
"defaultConfiguration": "development"
107101
},
108102
"extract-i18n": {
109103
"builder": "@angular-devkit/build-angular:extract-i18n",
110104
"options": {
111-
"browserTarget": "iot-master-gateway:build"
105+
"browserTarget": "iot-gateway:build"
112106
}
113107
}
114108
}

0 commit comments

Comments
 (0)