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

Commit

Permalink
fix: support aot on windows (#392)
Browse files Browse the repository at this point in the history
The compile host seems to use forward instead of backward slashes on windows.
  • Loading branch information
PanayotCankov authored and sis0k0 committed Jan 9, 2018
1 parent a37cca0 commit 8a20502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/NativeScriptAngularCompilerPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export class NativeScriptAngularCompilerPlugin extends AngularCompilerPlugin {
} catch(e) {
}
resolved = resolved || resourceNameToFileName.call(this, file, relativeTo);
resolved = resolved && resolved.replace(/\\/g, "/");
return resolved;
};
}
Expand Down

0 comments on commit 8a20502

Please sign in to comment.