File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/documentation/stories Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33Hot Module Replacement (HMR) is a WebPack feature to update code in a running app without rebuilding it.
44This results in faster updates and less full page-reloads.
55
6- You can read more about HRM by visiting [ this page] ( https://webpack.github.io/docs/hot-module-replacement.html ) .
6+ You can read more about HMR by visiting [ this page] ( https://webpack.github.io/docs/hot-module-replacement.html ) .
77
88In order to get HMR working with Angular CLI we first need to add a new environment and enable it.
99
@@ -22,7 +22,7 @@ export const environment = {
2222};
2323```
2424
25- Update ` src/environments/environment.prod.ts ` and add the ` hrm : false` flag to the environment:
25+ Update ` src/environments/environment.prod.ts ` and add the ` hmr : false` flag to the environment:
2626
2727``` typescript
2828export const environment = {
@@ -31,7 +31,7 @@ export const environment = {
3131};
3232```
3333
34- Update ` src/environments/environment.ts ` and add the ` hrm : false` flag to the environment:
34+ Update ` src/environments/environment.ts ` and add the ` hmr : false` flag to the environment:
3535
3636``` typescript
3737export const environment = {
You can’t perform that action at this time.
0 commit comments