Browse Source

Pull request #3619: 无JIRA less_config_path

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '4d8d1eb0bace7f981e2aa98583cc50a478343637':
  无JIRA less_config_path
research/test
Dailer-刘荣歆 1 year ago
parent
commit
6615288085
  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