|
15 | 15 |
|
16 | 16 | ### BREAKING CHANGES
|
17 | 17 |
|
18 | | -This version enables *Hot Module Replacement* feature in NativeScript Angular projects by default. |
19 | | -There is no need to manually accept *hot* changes and you could safely remove the `module["hot"]` code inside your entry module. |
| 18 | +* Hot Module Replacement in NativeScript Angular Project |
20 | 19 |
|
21 | | -### Migration |
| 20 | +This version enables the *Hot Module Replacement* feature in NativeScript Angular projects by default. |
| 21 | + |
| 22 | +So far it was required to add a snippet to enable HMR. With this release, you have to __remove__ any previous `module["hot"]` related code so HMR can work out of the box. |
22 | 23 |
|
23 | | -Steps: |
24 | | -- update the plugin by `npm i -D nativescript-dev-webpack@0.20.0` |
25 | | -- update the `webpack.config.js` file by `./node_modules/.bin/update-ns-webpack --configs --deps` |
26 | | -- remove any `module["hot"]` code inside your entry module. |
| 24 | +However, if you want to continue handling *hot* changes manually, follow [these](https://github.com/NativeScript/nativescript-angular/wiki/NativeScript-5.2-HMR-with-Angular#how-to-manually-enable-hmr-in-nativescript-angular-projects-with-n-52) instructions. |
| 25 | + |
| 26 | +### Migration |
27 | 27 |
|
28 | 28 | Please, refer to [this](https://github.com/NativeScript/nativescript-angular/wiki/NativeScript-5.2-HMR-with-Angular) wiki page for detailed information.
|
29 | 29 |
|
|
0 commit comments