diff --git a/lib/broccoli/broccoli-handlebars.js b/lib/broccoli/broccoli-handlebars.js index 5d4b86c42c81..269cfed8160c 100644 --- a/lib/broccoli/broccoli-handlebars.js +++ b/lib/broccoli/broccoli-handlebars.js @@ -22,6 +22,7 @@ class HandlebarReplace extends BroccoliCacheWriter { build() { this.listFiles().forEach((filePath) => { + filePath = path.normalize(filePath); const destPath = filePath.replace(this.inputPaths[0], this.outputPath); const content = fs.readFileSync(filePath, 'utf-8'); const template = Handlebars.compile(content);