Skip to content

Commit dd91054

Browse files
author
zckrs
committed
Fix import file path
1 parent b1a5baf commit dd91054

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/templates/gulp/_styles.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ gulp.task('styles', function () {
3232

3333
var injectOptions = {
3434
transform: function(filePath) {
35-
filePath = filePath.replace(path.join(conf.paths.src, '/app/'), '');
36-
return '@import \'' + filePath + '\';';
35+
filePath = filePath.replace(conf.paths.src + '/app/', '');
36+
return '@import "' + filePath + '";';
3737
},
3838
starttag: '// injector',
3939
endtag: '// endinjector',

0 commit comments

Comments
 (0)