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

Clearly document our environment variables #1143

Open
xzyfer opened this issue Sep 14, 2015 · 1 comment
Open

Clearly document our environment variables #1143

xzyfer opened this issue Sep 14, 2015 · 1 comment

Comments

@xzyfer
Copy link
Contributor

xzyfer commented Sep 14, 2015

Inspired by #1106 (and others I can't remember atm).

We have a handful of really useful environment variables, with subtly different behaviour. These are currently poorly, or undocumented which leads to people not knowing they exist, or how they work.

We need to document theses

Off the top of my head we ENV variables for installing/downloading the binaries, as well compiling the binary in dev mode. Below is some, but not all, of the ENV variables that directly affect node-sass.

Variable name value
SASS_BINARY_NAME path
SASS_BINARY_SITE URL
SASS_BINARY_PATH path
LIBSASS_EXT auto,yes,no
LIBSASS_CFLAGS compiler directives
LIBSASS_LDFLAGS linker directives
@am11
Copy link
Contributor

am11 commented Sep 14, 2015

👍
Incidentally, should we add two more columns to list down their package.json cofig and CLI argument counterparts (where applicable)?

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

2 participants