Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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

‎CHANGELOG.md‎

Lines changed: 8 additions & 2 deletions
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 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.
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)

AltStyle によって変換されたページ (->オリジナル) /