   _minify: (data, callback) ->
     if @config.optimize
       minify = @minifier?.optimize ? @minifier?.minify
-      minify? data, @path, callback
+      minify data, @path, callback
     else
       callback null, data
 

  sortByConfig(paths, order).map (path) ->
    indexes[path]

loadTestFiles = (files, testsConvention) ->
  files
    .map (file) ->
      file.path
    .filter (path) ->
      testsConvention path
    .map (path) ->
      path = path.replace RegExp('\\\\', 'g'), '/'
      path.substring 0, path.lastIndexOf '.'
    .map (path) ->
      "window.require('#{path}');"
    .join('\n') + '\n'

# File which is generated by brunch from other files.
module.exports = class GeneratedFile
  #

sysPath = require 'path'
async = require 'async'
common = require './common'
{concatSourceMaps} = require './source-map'

sortAlphabetically = (a, b) ->
  if a < b
