diff --git a/templates/webpack.angular.js b/templates/webpack.angular.js
index <HASH>..<HASH> 100644
--- a/templates/webpack.angular.js
+++ b/templates/webpack.angular.js
@@ -90,7 +90,7 @@ module.exports = env => {
     const ngCompilerPlugin = new AngularCompilerPlugin({
         hostReplacementPaths: nsWebpack.getResolver([platform, "tns"]),
         platformTransformers: ngCompilerTransformers.map(t => t(() => ngCompilerPlugin, resolve(appFullPath, entryModule))),
-        mainPath: resolve(appPath, entryModule),
+        mainPath: join(appFullPath, entryModule),
         tsConfigPath: join(__dirname, tsConfigName),
         skipCodeGeneration: !aot,
         sourceMap: !!sourceMap,
chore: merge release into master (#<I>)

* release: cut the <I> release



* fix: add support for ts files on test command when `--bundle` is provided (#<I>)



Rel to:

<URL>



* fix: fix "ERROR in Must have a source file to refactor." error from ngCompilerPlugin on `test` command (#<I>)