Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d0feea2

Browse files
authoredDec 21, 2018
refactor(Angular): update the default source dir and App_Resources paths (#710)
In the new {N} 5.0 templates for Angular the default paths are: - source code path - `src` - application resources path - `App_Resources`
1 parent d549e50 commit d0feea2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed
 

‎templates/webpack.angular.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ module.exports = env => {
3333
// The 'appPath' and 'appResourcesPath' values are fetched from
3434
// the nsconfig.json configuration file
3535
// when bundling with `tns run android|ios --bundle`.
36-
appPath = "app",
37-
appResourcesPath = "app/App_Resources",
36+
appPath = "src",
37+
appResourcesPath = "App_Resources",
3838

3939
// You can provide the following flags when running 'tns run android|ios'
4040
aot, // --env.aot

‎templates/webpack.vue.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ module.exports = env => {
3737
// the nsconfig.json configuration file
3838
// when bundling with `tns run android|ios --bundle`.
3939
appPath = "app",
40-
appResourcesPath = "app/App_Resources",
40+
appResourcesPath = "app/App_Resources",
4141

42-
// You can provide the following flags when running 'tns run android|ios'
43-
snapshot, // --env.snapshot
44-
production, // --env.production
45-
report, // --env.report
46-
hmr, // --env.hmr
42+
// You can provide the following flags when running 'tns run android|ios'
43+
snapshot, // --env.snapshot
44+
production, // --env.production
45+
report, // --env.report
46+
hmr, // --env.hmr
4747
} = env;
4848

4949
const externals = (env.externals || []).map((e) => { // --env.externals

0 commit comments

Comments
 (0)
This repository has been archived.