Skip to content

Commit

Permalink
chore(hmr): complete configuration for HMR in demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
tinesoft committed Jun 12, 2018
1 parent 892c7d2 commit df9321e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/templates/demo/_angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
},
"hmr": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
}
}
},
Expand All @@ -58,7 +66,8 @@
"browserTarget": "<%= githubRepoName %>-demo:build:production"
},
"hmr": {
"hmr": true
"hmr": true,
"browserTarget": "<%= githubRepoName %>-demo:build:hmr"
}
}
},
Expand Down

0 comments on commit df9321e

Please sign in to comment.