(publicPath, filename)
| 35 | } |
| 36 | |
| 37 | export const joinURLPath = (publicPath, filename) => { |
| 38 | if (publicPath.substr(-1) === '/') { |
| 39 | return `${publicPath}${filename}` |
| 40 | } |
| 41 | |
| 42 | return `${publicPath}/${filename}` |
| 43 | } |
| 44 | |
| 45 | export const readJsonFileSync = (inputFileSystem, jsonFilePath) => { |
| 46 | return JSON.parse(inputFileSystem.readFileSync(jsonFilePath)) |
no outgoing calls
no test coverage detected