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 ba557c5

Browse files
authored
docs: update breaking changes/migration (#795)
1 parent 0375de2 commit ba557c5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎CHANGELOG.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515

1616
### BREAKING CHANGES
1717

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
2019

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.
2223

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
2727

2828
Please, refer to [this](https://github.com/NativeScript/nativescript-angular/wiki/NativeScript-5.2-HMR-with-Angular) wiki page for detailed information.
2929

0 commit comments

Comments
(0)

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