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

What about a .sassrc-like file? #1409

Closed
floriangosse opened this issue Mar 10, 2016 · 5 comments
Closed

What about a .sassrc-like file? #1409

floriangosse opened this issue Mar 10, 2016 · 5 comments

Comments

@floriangosse
Copy link

The idea is to add a file called .sassrc or similar to your project root where the configurations are defined.

YAML:

---
includePaths:
  - node_modules/
  - bower_components/

or in JSON styntax:

{
  "includePaths": [
    "node_modules/",
    "bower_components/"
  ]
}

If the config file exists you can simply run node-sass src/style.scss dest/style.css and the options will be automatically applied.

This is also useful for editors which can automatically resolve imported files for jumping between them.

@floriangosse floriangosse changed the title .sassrc-like configuration file What about a .sassrc-like file? Mar 10, 2016
@xzyfer
Copy link
Contributor

xzyfer commented Mar 10, 2016

This is related to #1409

@saper
Copy link
Member

saper commented Mar 11, 2016

This is even the same @xzyfer :):)

@xzyfer
Copy link
Contributor

xzyfer commented Mar 19, 2016

Closing this in order to consolidate discussion in #1409.

@xzyfer xzyfer closed this as completed Mar 19, 2016
@floriangosse
Copy link
Author

@xzyfer please reference the correct issue.

@xzyfer
Copy link
Contributor

xzyfer commented Mar 19, 2016

Apologies , I didn't grok @saper's humor. I meant #917. The specific focus is different but the solution will likely be the same.

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

No branches or pull requests

3 participants