From dd91054fc10b67ca8c4fce8d995c78e35091b27a Mon Sep 17 00:00:00 2001 From: zckrs Date: Sun, 21 Jun 2015 03:12:31 +0200 Subject: [PATCH] Fix import file path --- app/templates/gulp/_styles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/gulp/_styles.js b/app/templates/gulp/_styles.js index fc43b4a7..6dab7ad8 100644 --- a/app/templates/gulp/_styles.js +++ b/app/templates/gulp/_styles.js @@ -32,8 +32,8 @@ gulp.task('styles', function () { var injectOptions = { transform: function(filePath) { - filePath = filePath.replace(path.join(conf.paths.src, '/app/'), ''); - return '@import \'' + filePath + '\';'; + filePath = filePath.replace(conf.paths.src + '/app/', ''); + return '@import "' + filePath + '";'; }, starttag: '// injector', endtag: '// endinjector',