Skip to content

Commit b721305

Browse files
author
Walker Leite
committed
fix(gulp-tasks): fix backslashs in win fixes #8
1 parent 39093da commit b721305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/gulp-tasks/compilers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function customSass(content, callback, compiler, filePath) {
1717
const relativePath = path.relative(
1818
path.dirname(filePath),
1919
path.resolve(dirs.srcClient, 'style/global.scss')
20-
);
20+
).replace(/\\/g, '/'); // Replace backslashes with forward slashes (windows)
2121

2222
// Global SCSS
2323
//

0 commit comments

Comments
 (0)