Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 196d977

Browse files
author
Fatme
authored
fix: fix "ERROR in Must have a source file to refactor." error from ngCompilerPlugin on test command (#859)
1 parent 9020c47 commit 196d977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎templates/webpack.angular.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ module.exports = env => {
8888
const ngCompilerPlugin = new AngularCompilerPlugin({
8989
hostReplacementPaths: nsWebpack.getResolver([platform, "tns"]),
9090
platformTransformers: ngCompilerTransformers.map(t => t(() => ngCompilerPlugin, resolve(appFullPath, entryModule))),
91-
mainPath: resolve(appPath, entryModule),
91+
mainPath: join(appFullPath, entryModule),
9292
tsConfigPath: join(__dirname, tsConfigName),
9393
skipCodeGeneration: !aot,
9494
sourceMap: !!sourceMap,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /