Browse Source

Merging in latest from upstream (VISUAL/fineui:refs/heads/master)

* commit '6615288085da3dab04ed5d646679e3cad319f7a4':
  无JIRA less_config_path
research/test
fay-李丰豪 1 year ago
parent
commit
f10f69a6b4
  1. 2
      packages/fineui/webpack/webpack.common.js

2
packages/fineui/webpack/webpack.common.js

@ -14,7 +14,7 @@ let lessVariables = {};
if (process.env.LESS_CONFIG_PATH) { if (process.env.LESS_CONFIG_PATH) {
const lessConfigPath = path.isAbsolute(process.env.LESS_CONFIG_PATH) const lessConfigPath = path.isAbsolute(process.env.LESS_CONFIG_PATH)
? 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) || {} : {}; lessVariables = fs.existsSync(lessConfigPath) ? require(lessConfigPath) || {} : {};
} }

Loading…
Cancel
Save