Skip to content

Commit 4011b9b

Browse files
committed
fix(gulp): fix styles
1 parent 59e1b00 commit 4011b9b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/templates/gulpfile.babel.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var paths = {
2626
'client/**/*.<%= scriptExt %>',
2727
'!client/bower_components/**/*.js'
2828
],
29-
styles: ['client/{app, components}/**/*.<%= styleExt %>'],
29+
styles: ['client/{app,components}/**/*.<%= styleExt %>'],
3030
mainStyle: 'client/app/app.<%= styleExt %>',
3131
test: ['client/**/*.spec.<%= scriptExt %>'],
3232
testRequire: [
@@ -105,16 +105,16 @@ let lintServerScripts = lazypipe()<% if(filters.coffee) { %>
105105
.pipe(plugins.jshint.reporter, 'jshint-stylish');<% } %>
106106

107107
let styles = lazypipe()
108-
.pipe(gulp.src, paths.client.styles)
108+
.pipe(gulp.src, paths.client.mainStyle)
109109
.pipe(plugins.sourcemaps.init)<% if(filters.stylus) { %>
110110
.pipe(plugins.stylus, {
111111
use: [nib()],
112112
errors: true
113113
})<% } if(filters.sass) { %>
114114
.pipe(plugins.sass)<% } %>
115+
.pipe(plugins.autoprefixer, {browsers: ['last 1 version']})
115116
.pipe(plugins.sourcemaps.write, '.')
116-
// .pipe(plugins.autoprefixer, {browsers: ['last 1 version']}) //seems to break this
117-
.pipe(gulp.dest, '.tmp');
117+
.pipe(gulp.dest, '.tmp/app');
118118

119119
/********************
120120
* Tasks

0 commit comments

Comments
 (0)