N
N
nomta2018-11-23 23:43:17
css
nomta, 2018-11-23 23:43:17

Postcss plugin (or set of plugins) exactly like SCSS syntax?

There is a desire to switch to postcss at home, remotely, scss is required at work. Here I think how to combine? Is it possible to replace with plugins so that the project looks and compiles like it was written in scss?
Thanks everyone for the replies!
I’ll add on my own: there was no such plugin, precss came closest, but it also has some differences in syntax.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Kot, 2018-11-24
@nomta

https://www.npmjs.com/package/postcss-import
https://www.npmjs.com/package/postcss-nesting ( https://www.npmjs.com/package/postcss-nested)
https:/ /www.npmjs.com/package/postcss-advanced-var... ( https://www.npmjs.com/package/postcss-simple-vars)
https://www.npmjs.com/package/postcss- mixins
These are the basic features
And it's easy to find the necessary plugins https://www.npmjs.com/search?q=keywords%3Apostcss-...
You can only go through the sass compiler. If you are not too lazy to pervert, then go for it. The main thing is to justify such a need to yourself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question