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 3
3
Hot Module Replacement (HMR) is a WebPack feature to update code in a running app without rebuilding it.
4
4
This results in faster updates and less full page-reloads.
5
5
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 ) .
7
7
8
8
In order to get HMR working with Angular CLI we first need to add a new environment and enable it.
9
9
@@ -22,7 +22,7 @@ export const environment = {
22
22
};
23
23
```
24
24
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:
26
26
27
27
``` typescript
28
28
export const environment = {
@@ -31,7 +31,7 @@ export const environment = {
31
31
};
32
32
```
33
33
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:
35
35
36
36
``` typescript
37
37
export const environment = {
You can’t perform that action at this time.
0 commit comments