Skip to content

Commit 27e3834

Browse files
Update angular part 1
1 parent 9929b1d commit 27e3834

File tree

6 files changed

+2298
-1539
lines changed

6 files changed

+2298
-1539
lines changed

angular.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515
"prefix": "app",
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
1919
"options": {
20-
"outputPath": "dist/OS2IoT-frontend",
20+
"outputPath": {
21+
"base": "dist/OS2IoT-frontend"
22+
},
2123
"index": "src/index.html",
22-
"main": "src/main.ts",
23-
"polyfills": "src/polyfills.ts",
24+
"polyfills": [
25+
"src/polyfills.ts"
26+
],
2427
"tsConfig": "tsconfig.app.json",
2528
"assets": [
2629
"src/favicon.ico",
@@ -36,12 +39,16 @@
3639
"node_modules/popper.js/dist/umd/popper.min.js",
3740
"node_modules/bootstrap/dist/js/bootstrap.min.js"
3841
],
39-
"vendorChunk": true,
4042
"extractLicenses": false,
41-
"buildOptimizer": false,
4243
"sourceMap": true,
4344
"optimization": false,
44-
"namedChunks": true
45+
"namedChunks": true,
46+
"browser": "src/main.ts",
47+
"stylePreprocessorOptions": {
48+
"includePaths": [
49+
"."
50+
]
51+
}
4552
},
4653
"configurations": {
4754
"production": {
@@ -50,8 +57,6 @@
5057
"sourceMap": false,
5158
"namedChunks": false,
5259
"extractLicenses": true,
53-
"vendorChunk": false,
54-
"buildOptimizer": true,
5560
"budgets": [
5661
{
5762
"type": "initial",

0 commit comments

Comments
 (0)