...
|
...
|
@@ -125,7 +125,7 @@ gulp.task('dist', ['ge'], () => { |
|
|
|
|
|
// postcss compile in dev
|
|
|
gulp.task('postcss-dev', () => {
|
|
|
return gulp.src('scss/index.css')
|
|
|
return gulp.src(['scss/index.css', 'scss/cart.index.css'])
|
|
|
.pipe(sourcemaps.init())
|
|
|
.pipe(postcss(postcssPlugin(env.dev)))
|
|
|
.pipe(sourcemaps.write('.'))
|
...
|
...
|
@@ -154,7 +154,7 @@ gulp.task('font', () => { |
|
|
|
|
|
// postcss compile in pro
|
|
|
gulp.task('postcss', ['assets'], () => {
|
|
|
return gulp.src('scss/index.css')
|
|
|
return gulp.src(['scss/index.css', 'scss/cart.index.css'])
|
|
|
.pipe(postcss(postcssPlugin(env.pro)))
|
|
|
.pipe(cssnano())
|
|
|
.pipe(gulp.dest(dist.css));
|
...
|
...
|
|