You can still use it if you like.
SASS building microservice.
Check the app.json file for any environment variables you might need to add or want to replace. Settings ENVIRONMENT
to [value]
will cause the app to try and load the .env/[value]
file into your environment. This is an easy way to add variables, but don't use this for confidential information.
npm install
npm start
Display information about the Paint service.
Compile SASS into CSS.
Parameters:
-
src
: The source SASS to compile. Either plain SASS, a link to an SASS file or a link to a (optionally gzipped) tarball containing SASS files. In case of an archive, there needs to be astyle.scss
file in the root. Optionally, you can include anoptions.json
file in the archive that sets the options as explained below for theopt
parameter. -
var
: Array of SASS variables to use during compilation. E.g.?var[primary]=green
will result in$primary: green;
-
uvar
: Link to a JSON file that contains SASS variables to use during compilation. Example JSON below.
{
"primary": "green",
"secondary": "#F00"
}
will result in:
$primary: green;
$secondary: #F00;
opt
: Array of options for the service to use. Currently, none are supported. In the future it might look like this:?opt[autoprefixer][browsers]=last%202%20versions&opt[scss][style]=nested
to enable the autoprefixer plugin and configure it to support the latest 2 browser versions as well as configure the nested output format for your CSS result.
See usage but replace npm start
with npm run dev
to run a watch task and reload the server every time you make changes to the code. Some environment variables may not be provided by default for security reasons, ask one of the developers for help if you need these.
We really appreciate any contribution you would like to make, so don't hesitate to report issues or submit pull requests.
This project is released under a MIT license.
If you would like to know more about us, be sure to have a look at our website, or our Twitter accounts Ambassify, Sitebase, JorgenEvens