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

Commit 8e7aa0c

Browse files
committed
fix(configs/angular): use path relative to the appDir for the root
module
1 parent 3b03c76 commit 8e7aa0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/webpack.angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ module.exports = env => {
154154
// AngularCompilerPlugin with augmented NativeScript filesystem to handle platform specific resource resolution.
155155
new nsWebpack.NativeScriptAngularCompilerPlugin(
156156
Object.assign({
157-
entryModule: resolve(__dirname, "app/app.module#AppModule"),
157+
entryModule: resolve(appPath, "app.module#AppModule"),
158158
skipCodeGeneration: !aot,
159159
platformOptions: {
160160
platform,

0 commit comments

Comments
 (0)