Merge pull request #23 from netlify/flip_css_tasks_order
Flip CSS tasks order to parse custom imports
This commit is contained in:
commit
c271e7bc4c
|
@ -20,7 +20,7 @@ gulp.task("build-preview", ["css", "js", "hugo-preview"]);
|
||||||
|
|
||||||
gulp.task("css", () => (
|
gulp.task("css", () => (
|
||||||
gulp.src("./src/css/*.css")
|
gulp.src("./src/css/*.css")
|
||||||
.pipe(postcss([cssnext(), cssImport({from: "./src/css/main.css"})]))
|
.pipe(postcss([cssImport({from: "./src/css/main.css"}), cssnext()]))
|
||||||
.pipe(gulp.dest("./dist/css"))
|
.pipe(gulp.dest("./dist/css"))
|
||||||
.pipe(browserSync.stream())
|
.pipe(browserSync.stream())
|
||||||
));
|
));
|
||||||
|
|
Reference in New Issue