G
G
gassmonkey2015-05-19 12:22:20
css
gassmonkey, 2015-05-19 12:22:20

How to set gulp-csscomb settings in a task?

You need your own css formatting settings. Editing the config manually, or replacing it when deploying each new project, is wildly inconvenient. Is it possible to somehow pass parameters from the gulp task?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Murat Atila, 2015-05-19
@gassmonkey

Is this what you need?
csscomb.com/docs
For example, here is my csscomb.
dropbox
Added:
Open documentation and read https://www.npmjs.com/package/gulp-csscomb
"If there is .csscomb.json file present in the same folder as the source file(s), or in the project root folder , gulp-csscomb will read config settings from it instead of default config."
Here is a screenshot of my project. joxi.ru/Drlp007FjR8JrP

G
Grigory Vasilkov, 2016-07-24
@gzhegow

Create a .csscomb.json file at the root
Individuals can't give advice without blowing their brains out with their useful "read"-style recommendations

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question