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

Commit 5c37a1a

Browse files
author
Fatme
authored
chore: merge release into master (#860)
* release: cut the 0.21.0 release * fix: add support for ts files on test command when `--bundle` is provided (#848) Rel to: NativeScript/nativescript-cli#4477 NativeScript/nativescript-cli#1798 * fix: use correct slashes on windows (#851) * fix: fix "ERROR in Must have a source file to refactor." error from ngCompilerPlugin on `test` command (#859)
1 parent dbcfbc2 commit 5c37a1a

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
@@ -90,7 +90,7 @@ module.exports = env => {
9090
const ngCompilerPlugin = new AngularCompilerPlugin({
9191
hostReplacementPaths: nsWebpack.getResolver([platform, "tns"]),
9292
platformTransformers: ngCompilerTransformers.map(t => t(() => ngCompilerPlugin, resolve(appFullPath, entryModule))),
93-
mainPath: resolve(appPath, entryModule),
93+
mainPath: join(appFullPath, entryModule),
9494
tsConfigPath: join(__dirname, tsConfigName),
9595
skipCodeGeneration: !aot,
9696
sourceMap: !!sourceMap,

0 commit comments

Comments
 (0)