Skip to content

Commit

Permalink
chore: Shareable examples win compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
bardosmisi authored and tomheller committed Aug 3, 2020
1 parent 811977e commit 24647e8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ export async function getBoilerplateFiles(
exampleModulePath,
)
// remove the .ts extension for imports
.replace('.ts', '');
.replace('.ts', '')
// replace \ with /
.replace(/\\/g, '/');

files.push({
path: resolve(environment.examplesLibDir, 'app/app.module.ts'),
Expand Down

0 comments on commit 24647e8

Please sign in to comment.