Authored by 郭成尧

'gulpshop'

... ... @@ -130,7 +130,7 @@ function postcssEnvPlugin(env) {
//Postcss开发环境
gulp.task('postcss-dev', function() {
return gulp.src(['sass/index.css', 'sass/shop.css'])
return gulp.src(['sass/shop.css', 'sass/index.css'])
.pipe(sourcemaps.init())
.pipe(postcss(postcssEnvPlugin('DEV')))
.pipe(sourcemaps.write('.'))
... ... @@ -143,7 +143,7 @@ gulp.task('postcss-watch', function() {
//Postcss正式环境生成
gulp.task('postcss-pro', ['assets'], function() {
return gulp.src(['sass/index.css', 'sass/shop.css'])
return gulp.src(['sass/shop.css', 'sass/index.css'])
.pipe(postcss(postcssEnvPlugin('PRO')))
.pipe(cssnano())
.pipe(gulp.dest(distDir.css))
... ...