Compare and return full path files in node overcoming Windows/Unix separator issues

前端 未结 0 1564
误落风尘
误落风尘 2021-01-05 05:53

I have code like this:

exports.fileRenamer = (config, file) => {
  switch (file) {
    case \'src/pages/PREFIX-load-error.js\': return `src/pages/${config.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题