linwenling
2023-05-25 adbcf8cae1885a88d68079ef6df085aa19c858de
1
2
3
4
5
6
7
module.exports = function formatConfig(config) {
  if (typeof config === 'function') {
    return { '*': config }
  }
 
  return config
}