Giter VIP home page Giter VIP logo

multi-sass's Introduction

multi-sass

Compile multiple sass projects using a single node-sass instance.

Installation

npm install -g multi-sass

Usage

Supply any combination of node-sass command line options, separating each configuration by -n or --next.

Example:

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 should work, as should any option specified in the documentation 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).

-h, --help             output usage information
-V, --version          output the version number
--name <name>          Name config
-n, --next             Start next config
-w, --watch            Enable watch
-i, --input <file>     Input file
-d, --directory <dir>  Input directory
-r, --recursive        Recursively watch directories or files
-o, --output <file>    Output file or directory
--include-path <dir>   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, Twitter or my website.

multi-sass's People

Contributors

jorgenevens avatar

Stargazers

 avatar

Watchers

 avatar

multi-sass's Issues

Minify doesn't seem to work

Hi! Love multi-sass by the way, it's a great timesaver!

I'm having trouble getting the minify option to work. Here's an example of my code:
"webengine-compile": "multi-sass -w -i webengine_alpha.scss -o webengine_alpha.css --output-style compressed"

In node-sass, the output option is placed at the beginning, however in multi-sass I've tried placing the --output-syle compressed" in every possible position and I can't get it to work. I've tried: after after multi-sass, after -w, -i, -o, after the input file, and at the end.

Please help, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.