 
     uglify:
       default:
-        files:
-          src: 'public/script.js'
-          dest: 'public/script.js'
+        src: 'public/script.js'
+        dest: 'public/script.js'
 
 
   ####

    ]

  grunt.registerTask 'optimize', ->
    # TODO: turn on after our refactoring
    if NODE_ENV isnt 'dev'
      grunt.task.run(optimizeScriptTasks)

  grunt.registerTask 'updateComponent', ->
    manifest = grunt.file.readJSON('component.json')

  ]

  # Script optimization tasks
  optimizeTasks = [
    'optimizeStyle'
    'uglify'
  ]

