Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 0375de2

Browse files
authored
docs: breaking changes/migration to 0.20.0
1 parent 3deff01 commit 0375de2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: CHANGELOG.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,18 @@
1313
* **Angular:** apply changes in application styles at runtime with HMR ([#748](https://github.com/NativeScript/nativescript-dev-webpack/issues/748)) ([fe4abfb](https://github.com/NativeScript/nativescript-dev-webpack/commit/fe4abfb))
1414
* **snapshot:** the parameters passed to mksnapshot are now retrieved… ([#789](https://github.com/NativeScript/nativescript-dev-webpack/issues/789)) ([cb68dac](https://github.com/NativeScript/nativescript-dev-webpack/commit/cb68dac))
1515

16-
17-
### Migration
16+
### BREAKING CHANGES
1817

1918
This version enables *Hot Module Replacement* feature in NativeScript Angular projects by default.
2019
There is no need to manually accept *hot* changes and you could safely remove the `module["hot"]` code inside your entry module.
2120

21+
### Migration
22+
23+
Steps:
24+
- update the plugin by `npm i -D [email protected]`
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.
27+
2228
Please, refer to [this](https://github.com/NativeScript/nativescript-angular/wiki/NativeScript-5.2-HMR-with-Angular) wiki page for detailed information.
2329

2430
<a name="0.19.2"></a>

0 commit comments

Comments
 (0)