Skip to content

Commit 242a56b

Browse files
authored
Merge pull request #13738 from IgniteUI/simeonoff/fix-demo-app-hmr
build(demo-app): use builder browser and built-in hmr
2 parents 1a575fe + a9168c7 commit 242a56b

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

angular.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@
1515
},
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:application",
18+
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
2020
"outputPath": "dist/igniteui-dev-demos",
21+
"main": "./src/main.ts",
2122
"index": "src/index.html",
22-
"browser": "src/main.ts",
23-
"server": "src/main.server.ts",
24-
"ssr": {
25-
"entry": "src/server.ts"
26-
},
2723
"polyfills": [
2824
"zone.js",
2925
"hammerjs"
@@ -39,6 +35,7 @@
3935
],
4036
"scripts": [],
4137
"extractLicenses": false,
38+
"buildOptimizer": false,
4239
"sourceMap": true,
4340
"optimization": false,
4441
"namedChunks": true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0",
44
"scripts": {
55
"ng": "ng",
6-
"start": "ng serve --open --configuration hmr",
6+
"start": "ng serve --open --hmr",
77
"build": "ng build --configuration production",
88
"test": "ng test igniteui-angular",
99
"lint": "ng lint",

0 commit comments

Comments
 (0)