|
|
|
@ -14,7 +14,7 @@ let lessVariables = {};
|
|
|
|
|
if (process.env.LESS_CONFIG_PATH) { |
|
|
|
|
const lessConfigPath = path.isAbsolute(process.env.LESS_CONFIG_PATH) |
|
|
|
|
? process.env.LESS_CONFIG_PATH |
|
|
|
|
: path.resolve(__dirname, "../lessconfig", process.env.LESS_CONFIG_PATH); |
|
|
|
|
: path.resolve(__dirname, process.env.LESS_CONFIG_PATH); |
|
|
|
|
lessVariables = fs.existsSync(lessConfigPath) ? require(lessConfigPath) || {} : {}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|