Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorgenevens/multi-sass
Compile multiple sass projects using a single compiler.
https://github.com/jorgenevens/multi-sass
css libsass multi-sass node-sass sass scss
Last synced: 16 days ago
JSON representation
Compile multiple sass projects using a single compiler.
- Host: GitHub
- URL: https://github.com/jorgenevens/multi-sass
- Owner: JorgenEvens
- Created: 2017-01-22T00:48:13.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T21:27:34.000Z (over 7 years ago)
- Last Synced: 2024-10-16T17:02:38.375Z (2 months ago)
- Topics: css, libsass, multi-sass, node-sass, sass, scss
- Language: JavaScript
- Homepage: https://multi-sass.evens.eu/
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# multi-sass
Compile multiple sass projects using a single node-sass instance.
## Installation
```shell
npm install -g multi-sass
```## Usage
Supply any combination of `node-sass` command line options, separating each configuration by `-n` or `--next`.
**Example:**
```shell
multi-sass --directory project1/src --output project1/css --source-map \
--next --input project2/src/component.scss -o project2/dist/comp.min.css
```**Options:**
All [command-line options available to node-sass](https://www.npmjs.com/package/node-sass#command-line-interface) should work, as should [any option specified in the documentation](https://github.com/sass/node-sass#options) prefixed with `--`.
The flags defined by `multi-sass` either exist because they are named differently or because that part of the functionality is provided by `multi-sass` (such as `--watch`).
```shell
-h, --help output usage information
-V, --version output the version number
--name Name config
-n, --next Start next config
-w, --watch Enable watch
-i, --input Input file
-d, --directory Input directory
-r, --recursive Recursively watch directories or files
-o, --output Output file or directory
--include-path Path to look for imported files
```## Contributing
If you have some issue or code you would like to add, feel free to open a Pull Request or Issue and I will look into it as soon as I can.
## License
I am releasing this under a MIT License.
## About me
Find me on [GitHub](https://github.com/JorgenEvens), [Twitter](https://twitter.com/JorgenEvens) or [my website](https://jorgen.evens.eu).