Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b3de2c8 + 5d7e5db commit 365f0ecCopy full SHA for 365f0ec
tools/config/seed.config.ts
@@ -282,11 +282,11 @@ export class SeedConfig {
282
VERSION_NODE = '4.0.0';
283
284
/**
285
- * The flag to enable handling of SCSS files
286
- * The default value is false. Override with the '--scss' flag.
+ * Enable SCSS stylesheet compilation.
+ * Set ENABLE_SCSS environment variable to 'true' or '1'
287
* @type {boolean}
288
*/
289
- ENABLE_SCSS = argv['scss'] || false;
+ ENABLE_SCSS = ['true', '1'].indexOf(`${process.env.ENABLE_SCSS}`.toLowerCase()) !== -1 || argv['scss'] || false;
290
291
292
* The list of NPM dependcies to be injected in the `index.html`.
0 commit comments