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

Commit ecebf8d

Browse files
committed
chore: fix for missing redirects on @nativescript/angular
1 parent 76fe655 commit ecebf8d

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

Diff for: templates/webpack.angular.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ module.exports = env => {
147147
"node_modules",
148148
],
149149
alias: {
150-
'~': appFullPath
150+
'~': appFullPath,
151+
"tns-core-modules": "@nativescript/core",
152+
"nativescript-angular": "@nativescript/angular",
151153
},
152154
symlinks: true
153155
},

Diff for: templates/webpack.javascript.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ module.exports = env => {
105105
"node_modules",
106106
],
107107
alias: {
108-
'~': appFullPath
108+
'~': appFullPath,
109+
"tns-core-modules": "@nativescript/core",
109110
},
110111
// resolve symlinks to symlinked modules
111112
symlinks: true

Diff for: templates/webpack.typescript.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ module.exports = env => {
112112
"node_modules",
113113
],
114114
alias: {
115-
'~': appFullPath
115+
'~': appFullPath,
116+
"tns-core-modules": "@nativescript/core",
116117
},
117118
// resolve symlinks to symlinked modules
118119
symlinks: true

Diff for: templates/webpack.vue.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ module.exports = env => {
114114
alias: {
115115
'~': appFullPath,
116116
'@': appFullPath,
117-
'vue': 'nativescript-vue'
117+
'vue': 'nativescript-vue',
118+
"tns-core-modules": "@nativescript/core",
118119
},
119120
// resolve symlinks to symlinked modules
120121
symlinks: true,

0 commit comments

Comments
 (0)