Merge pull request #23 from netlify/flip_css_tasks_order

Flip CSS tasks order to parse custom imports
This commit is contained in:
David Calavera 2017-04-14 14:07:26 -07:00 committed by GitHub
commit c271e7bc4c
1 changed files with 1 additions and 1 deletions

View File

@ -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())
)); ));