L
L
loksan2020-01-10 19:22:02
Node.js
loksan, 2020-01-10 19:22:02

Is it possible to make friends gulp sass and postcss plugin?

Good afternoon, I had a question, is it possible to make friends between them?
Given -
gulp-sass - https://www.npmjs.com/package/gulp-sass
postcss plugin - https://github.com/alexandr-solovyov/postcss-respo...
An error occurs when trying to compile a piece of code
5e18a43ed9397289374063.jpeg
Code which i am testing

body {
    font-size: {
    0: 1em;
    1600: 2em;
  }
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Morev, 2020-01-10
@SeaInside

Put the postcss call before the gulp-sass call in your task - naturally, gulp-sass cannot digest this tin.
PS In general - it's better not to use such things - overengineering is terrible, you shouldn't deviate so much from "vanilla" CSS, you will work in a team - those who will figure out how it all works after you will thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question