Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify ENABLE_SCSS setting via environment variable (#1603)
* Allow ENABLE_SCSS flag to be set via ENV variable Some npm run-scripts contain multiple gulp comman- ds (ex. e2e.ci). Multiple gulp commands may refer- ence the ENABLE_SCSS setting; however, '--scss' is only appended to the final command: gulp ... && gulp ... && gulp ... "--scss" This results in a build error. To provide each command in an npm run-script the correct ENABLE_SCSS setting, set the ENABLE_SCSS setting using an environment variable rather than a command-line argument. BREAKING CHANGES 1. The '--scss' no longer has any effect 2. To enable SASS support via the command line, one must prefix their run-script command with ENABLE_SCSS=1 or ENABLE_SCSS=true. * Keep '--scss' flag for backwards compatibility
- Loading branch information