isNonRenderableFile(fileName) {
    const nonRenderableFiles = this.templateConfig.nonRenderableFiles || [];
    return Array.isArray(nonRenderableFiles) &&
    (nonRenderableFiles.some(globExp => minimatch(fileName, globExp)) ||
    (isReactTemplate(this.templateConfig) && !isJsFile(fileName)));
  }
Checks if a given file name matches the list of non-renderable files.

@private
@param  {string} fileName Name of the file to check against a list of glob patterns.
@return {boolean}