Skip to content

Make {N} project structure configurable #3257

Closed
@sis0k0

Description

@sis0k0

Currently, a {N} project has to follow a few conventions in order to be built with {N} CLI. For example, the source code should be in a folder named app, the application resources should be in app/App_Resources and so on.
The project structure should be configurable per project. For example, a project can have a .tns-cli.json file inside the project where the following can be specified:

  • app folder name (currently 'app')
  • app resources folder name
  • folders/files to be included in the app and to be watched during livesync (related to Ability to ignore files from build and livesync #887)
    • This is particularly important when building apps with Angular 5. The package @angular/common contains localization files (~17Mb) which will get deployed on the device even if they are not used.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions