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

Conversation

@sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Nov 9, 2018

In the new {N} 5.0 templates for Angular the default paths are:

  • source code path - src
  • application resources path - App_Resources
In the new {N} 5.0 templates the default paths are: - source code path - `src` - application resources path - `App_Resources`
@sis0k0 sis0k0 self-assigned this Dec 13, 2018
// when bundling with `tns run android|ios --bundle`.
appPath = "app",
appResourcesPath = "app/App_Resources",
appPath = "src",
Copy link
Contributor

Choose a reason for hiding this comment

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

We changed the default paths only for the angular templates so far, ts/js/vue still use the app & app/App_Resources logic (e.g. https://github.com/NativeScript/template-blank-ts). We should update them first prior to updating the default webpack templates?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I updated the PR to modify only the NG webpack config. After we migrate the other templates, I will open a PR that changes the non-NG webpack configs as well.

@sis0k0 sis0k0 changed the title refactor: update the default source dir and App_Resources paths refactor(Angular): update the default source dir and App_Resources paths Dec 19, 2018
@sis0k0 sis0k0 merged commit d0feea2 into master Dec 21, 2018
@sis0k0 sis0k0 deleted the sis0k0/update-default-paths branch December 21, 2018 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants