Skip to content

Conversation

@sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Jul 24, 2019

  • refactor: bump template versions to {N} 6.0

  • refactor: set markingMode to none

  • refactor: remove moduleId from component metadata

{N} 6.0 uses only webpack for building. When building Angular apps with
Webpack,the module.id is inserted automatically and we don't need to
set it manually. There's even a loader in nativescript-dev-webpack which removes the moduleIds from the source code.

In short, the moduleId: module.id is useful only for builds without webpack. NativeScript 6.0 doesn't support such builds. That's why we don't need moduleId in the templates anymore.

sis0k0 added 3 commits July 24, 2019 17:21
{N} 6.0 uses only webpack for building. When building Angular apps with Webpack,the `module.id` is inserted automatically and we don't need to set it manually. There's even a loader in `nativescript-dev-webpack` which removes the moduleIds from the source code. In short, the `moduleId: module.id` is useful only for builds without webpack. NativeScript 6.0 doesn't support such builds. That's why we don't need moduleId in the templates anymore.
@cla-bot cla-bot bot added the cla: yes label Jul 24, 2019
@sis0k0 sis0k0 merged commit f4a098a into master Jul 24, 2019
@sis0k0 sis0k0 deleted the sis0k0/ns-6 branch July 24, 2019 14:50
dtopuzov added a commit to NativeScript/nativescript-tooling-qa that referenced this pull request Jul 26, 2019
dtopuzov added a commit to NativeScript/nativescript-tooling-qa that referenced this pull request Jul 26, 2019
dtopuzov added a commit to NativeScript/nativescript-tooling-qa that referenced this pull request Jul 26, 2019
dtopuzov added a commit to NativeScript/nativescript-tooling-qa that referenced this pull request Jul 26, 2019
* fix: schematics tests Adress changes introduced by NativeScript/nativescript-schematics#220 * chore: add docs string in tests * fix: install schematics as dev dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants