packages/fjsx-material/src/icons/filters/rename/kebab-case.js
function kebabDestRewriter(pathObj: Object, innerPath: string, options: Object) {
  let fileName = pathObj.base;
  if (options.fileSuffix) {
    fileName.replace(options.fileSuffix, '.svg');
  } else {
    fileName = fileName.replace('.svg', '.js');
  }
  fileName = fileName.replace(/_/g, '-');
  return path.join(innerPath, fileName);
}
function kebabDestRewriter(pathObj: Object, innerPath: string, options: Object) {
  let fileName = pathObj.base;
  if (options.fileSuffix) {
    fileName.replace(options.fileSuffix, '.svg');
  } else {
    fileName = fileName.replace('.svg', '.js');
  }
  fileName = fileName.replace(/_/g, '-');
  return path.join(innerPath, fileName);
}
/*
Return path to write file to inside outputDir.

@param {object} pathObj
path objects from path.parse

@param {string} innerPath
Path (relative to options.svgDir) to svg file
e.g. if svgFile was /home/user/icons/path/to/svg/file.svg
options.svgDir is /home/user/icons/
innerPath is path/to/svg

@param {object} options
@return {string} output file dest relative to outputDir