Skip to content

Commit 17effdf

Browse files
committed
Fifth step: Styling
1 parent 1d4aa93 commit 17effdf

7 files changed

+869
-40
lines changed

angular.json

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,20 @@
1111
"prefix": "app",
1212
"architect": {
1313
"build": {
14-
"builder": "@angular-devkit/build-angular:browser",
14+
"builder": "@angular-builders/custom-webpack:browser",
1515
"options": {
1616
"outputPath": "dist/angular-series",
1717
"index": "src/index.html",
1818
"main": "src/main.ts",
1919
"polyfills": "src/polyfills.ts",
2020
"tsConfig": "tsconfig.app.json",
2121
"aot": false,
22-
"assets": [
23-
"src/favicon.ico",
24-
"src/assets"
25-
],
26-
"styles": [
27-
"src/styles.css"
28-
],
29-
"scripts": []
22+
"assets": ["src/favicon.ico", "src/assets"],
23+
"styles": ["src/styles.css"],
24+
"scripts": [],
25+
"customWebpackConfig": {
26+
"path": "./webpack.config.js"
27+
}
3028
},
3129
"configurations": {
3230
"production": {
@@ -61,9 +59,12 @@
6159
}
6260
},
6361
"serve": {
64-
"builder": "@angular-devkit/build-angular:dev-server",
62+
"builder": "@angular-builders/custom-webpack:dev-server",
6563
"options": {
66-
"browserTarget": "angular-series:build"
64+
"browserTarget": "angular-series:build",
65+
"customWebpackConfig": {
66+
"path": "./webpack.config.js"
67+
}
6768
},
6869
"configurations": {
6970
"production": {
@@ -84,13 +85,8 @@
8485
"polyfills": "src/polyfills.ts",
8586
"tsConfig": "tsconfig.spec.json",
8687
"karmaConfig": "karma.conf.js",
87-
"assets": [
88-
"src/favicon.ico",
89-
"src/assets"
90-
],
91-
"styles": [
92-
"src/styles.css"
93-
],
88+
"assets": ["src/favicon.ico", "src/assets"],
89+
"styles": ["src/styles.css"],
9490
"scripts": []
9591
}
9692
},
@@ -102,9 +98,7 @@
10298
"tsconfig.spec.json",
10399
"e2e/tsconfig.json"
104100
],
105-
"exclude": [
106-
"**/node_modules/**"
107-
]
101+
"exclude": ["**/node_modules/**"]
108102
}
109103
},
110104
"e2e": {
@@ -120,6 +114,7 @@
120114
}
121115
}
122116
}
123-
}},
117+
}
118+
},
124119
"defaultProject": "angular-series"
125-
}
120+
}

0 commit comments

Comments
 (0)