Browse Source

Merge pull request #242810 in DEC/fineui from master to feature/x

* commit '6615288085da3dab04ed5d646679e3cad319f7a4':
  无JIRA less_config_path
research/test
superman 1 year ago
parent
commit
d890651752
  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) {
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) || {} : {};
}

Loading…
Cancel
Save