Commit 5d7e5db
Specify ENABLE_SCSS setting via environment variable (mgechev#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 compatibility1 parent 5010350 commit 5d7e5db
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
| 285 | + | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
0 commit comments