We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hap-toolkit/packages/hap-toolkit/src/gen-webpack-conf/ide.config.js
Line 12 in 6302bb3
这个地方能不能把环境变量传进来,这个可以根据环境来设置不同的插件配置。
可以判断webpack是否是函数,如果是函数,执行之后再赋值
if (customConf.webpack) { if (typeof customConf.webpack === 'function') { customConf = customConf.webpack(defaultsOptions.nodeConf) } else { customConf = customConf.webpack } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hap-toolkit/packages/hap-toolkit/src/gen-webpack-conf/ide.config.js
Line 12 in 6302bb3
这个地方能不能把环境变量传进来,这个可以根据环境来设置不同的插件配置。
可以判断webpack是否是函数,如果是函数,执行之后再赋值
The text was updated successfully, but these errors were encountered: