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

Commit 18be9f0

Browse files
sis0k0DimitarTachev
and
DimitarTachev
authored
Update plugins/NativeScriptAngularCompilerPlugin.ts
Co-Authored-By: DimitarTachev <[email protected]>
1 parent e8b9b45 commit 18be9f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plugins/NativeScriptAngularCompilerPlugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function getAngularCompilerPlugin(platform: string): any {
66
// This is the bridge between the @ngtols/webpack loader and the AngularCompilerPlugin plugin itself:
77
// https://github.com/angular/angular-cli/blob/bf52b26219ffc16bed2dd55716e21773b415fd2a/packages/ngtools/webpack/src/loader.ts#L49
88
// The problem is that the loader does not call the `hostReplacementPaths` method when asking for the compiledFile.
9-
// By overriding this method, we workaround this issue and support platform specific files from the loader
9+
// By overriding this method, we work around this issue and support platform specific files from the loader
1010
// that are not compiled by the AngularCompilerPlugin plugin. e.g. main.ts is the webpack entry point and
1111
// it's loaded by the @ngtools/webpack loader but its not compiled by the plugin because the TypeScript Compiler
1212
// knowns only about main.android.ts and main.ios.ts (main.ts is not imported/required anywhere in the app).

0 commit comments

Comments
 (0)