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

Conversation

@SvetoslavTsenov
Copy link
Contributor

No description provided.

sis0k0 and others added 8 commits December 18, 2018 13:31
## What is the current behavior? In NativeScript Angular the hot updates are only accepted in the entry file (`main.ts`). The lazy loaded NgModules are not directly imported anywhere in the dependency graph with root `main.ts`. That's why the hot updates in lazy modules don't bubble up to the accept in `main.ts` and HMR doesn't work in lazy modules. ## What is the new behavior? Every lazy loaded NgModule is augmented with HMR self-accept during build by the `lazy-ngmodule-hot-loader`. fixes NativeScript/nativescript-angular#1564 BREAKING CHANGES: The `lazy-ngmodule-hot-loader` should be added to the webpack configuration. **BEFORE** ``` js // webpack.config.js { test: /(?:\.ngfactory\.js|\.ngstyle\.js|\.ts)$/, use: [ "nativescript-dev-webpack/moduleid-compat-loader", "@ngtools/webpack", ] }, // ... ``` **AFTER** ``` js // webpack.config.js { test: /(?:\.ngfactory\.js|\.ngstyle\.js|\.ts)$/, use: [ "nativescript-dev-webpack/moduleid-compat-loader", "nativescript-dev-webpack/lazy-ngmodule-hot-loader", "@ngtools/webpack", ] }, // ... ```
A minor improvement over message formatting for unaccepted or declined HMR changes
* fix(Vue): resolve full path for entry module (#744) fixes #742 * docs: merge changelog and package.json
…ion mode (#743) ## PR Checklist - [X] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages. - [X] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it. - [X] All existing tests are passing: https://github.com/NativeScript/nativescript-dev-webpack/blob/master/CONTRIBUTING.md#testing-locally-by-running-e2e-tests ## What is the current behavior? When building {N} Vue apps in production mode the function names are renamed by UglifyJS to make the bundle smaller. This causes problems when some `tns-core-modules` components are renamed (`SegmentedBar`, `FormattedString`). ``` tns run ios --bundle --env.production ``` ## What is the new behavior? The function names are not renamed anymore. fixes nativescript-vue/vue-cli-template#105 for the {N} CLI Vue template.
…ths (#710) In the new {N} 5.0 templates for Angular the default paths are: - source code path - `src` - application resources path - `App_Resources`
* feat: transform the main angular module in order to include the lazy loader in the bundle when angular/core is external * fix pr comments * refactor: remove blank lines * fix: move a typescript specific logic in ast utils in order to avoid invalid import in JS applications * fix: normalize the app module paths in order to avoid incorrect comparison on Windows
Copy link
Contributor

@sis0k0 sis0k0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are already released features/fixes in the changelog.

@SvetoslavTsenov SvetoslavTsenov deleted the release-19.0 branch January 3, 2019 12:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants