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

Commit 8a20502

Browse files
PanayotCankovsis0k0
authored andcommitted
fix: support aot on windows (#392)
The compile host seems to use forward instead of backward slashes on windows.
1 parent a37cca0 commit 8a20502

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: plugins/NativeScriptAngularCompilerPlugin.ts

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class NativeScriptAngularCompilerPlugin extends AngularCompilerPlugin {
5757
} catch(e) {
5858
}
5959
resolved = resolved || resourceNameToFileName.call(this, file, relativeTo);
60+
resolved = resolved && resolved.replace(/\\/g, "/");
6061
return resolved;
6162
};
6263
}

0 commit comments

Comments
 (0)