Showing
1 changed file
with
2 additions
and
2 deletions
@@ -130,7 +130,7 @@ function postcssEnvPlugin(env) { | @@ -130,7 +130,7 @@ function postcssEnvPlugin(env) { | ||
130 | 130 | ||
131 | //Postcss开发环境 | 131 | //Postcss开发环境 |
132 | gulp.task('postcss-dev', function() { | 132 | gulp.task('postcss-dev', function() { |
133 | - return gulp.src(['sass/index.css', 'sass/shop.css']) | 133 | + return gulp.src(['sass/shop.css', 'sass/index.css']) |
134 | .pipe(sourcemaps.init()) | 134 | .pipe(sourcemaps.init()) |
135 | .pipe(postcss(postcssEnvPlugin('DEV'))) | 135 | .pipe(postcss(postcssEnvPlugin('DEV'))) |
136 | .pipe(sourcemaps.write('.')) | 136 | .pipe(sourcemaps.write('.')) |
@@ -143,7 +143,7 @@ gulp.task('postcss-watch', function() { | @@ -143,7 +143,7 @@ gulp.task('postcss-watch', function() { | ||
143 | 143 | ||
144 | //Postcss正式环境生成 | 144 | //Postcss正式环境生成 |
145 | gulp.task('postcss-pro', ['assets'], function() { | 145 | gulp.task('postcss-pro', ['assets'], function() { |
146 | - return gulp.src(['sass/index.css', 'sass/shop.css']) | 146 | + return gulp.src(['sass/shop.css', 'sass/index.css']) |
147 | .pipe(postcss(postcssEnvPlugin('PRO'))) | 147 | .pipe(postcss(postcssEnvPlugin('PRO'))) |
148 | .pipe(cssnano()) | 148 | .pipe(cssnano()) |
149 | .pipe(gulp.dest(distDir.css)) | 149 | .pipe(gulp.dest(distDir.css)) |
-
Please register or login to post a comment