Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Is it possible to define a configuration parameter project wide? #137

Open
funkytraffic opened this issue Dec 12, 2017 · 3 comments
Open

Comments

@funkytraffic
Copy link

I would like to define a compile path projectwide. This means to have a file like ".sass-autocompile" in the project root directory and not in the sass file which defines the config parameter, such as:

// compileCompressed, compressedFilenamePattern: ../css/$1.css

There are some cases where I donnot want to touch the scss files and make this definition at another place.

Is it possible?

Sorry, I am new to Atom, so I am just learning basic concepts. In brackets there is such a project wide definiton in .brackets.json

@armin-pfaeffle
Copy link
Owner

Hey! At the moment, there is no possibility like this. But it's a good point which I add to my TODO list.

@funkytraffic
Copy link
Author

Thanks for notice. In Brackets the sass compiler uses the general project file .brackets.json to store such info.

See https://github.com/jasonsanjose/brackets-sass#sample-bracketsjson-file

But your compiler works way better, the Brackets one is very buggy.

I tested this with bootstrap 4 beta.

To use a general project file in atom seems to me as a newbie to be an open discussion:

See atom/atom#5168

@armin-pfaeffle
Copy link
Owner

Well, it's not my compiler, my package is only a wrapper for node-sass ;)

But the idea of a "sass compile file" or integration in a project file is really great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants