           mangle: false
           beautify: true
         files: [
-          "build/coffee-engine-2d.js": files_2d.concat(extras)
-          "build/coffee-engine-3d.js": files_3d.concat(extras)
+          "build/coffee-engine-2d.js": all_2d_files
+          "build/coffee-engine-3d.js": all_3d_files
         ]
 
   grunt.registerTask "compile:coffee:watch", ["shell:compile-coffee-watch"]

    "bower_components/socket.io-client/dist/socket.io.js"
  ]

  grunt.initConfig
    pkg: grunt.file.readJSON("package.json")
    shell:

fs = require('fs')

module.exports = (grunt) ->
  files_3d = [
    "bower_components/stats.js/src/Stats.js"
