         if grunt.file.exists(styleVariableFile)
           grunt.task.run [
             'stylus:withVariables'
-            'runAutoprefixer'
-            'runCssShrink'
           ]
         else
           grunt.task.run [
             'stylus:noVariables'
-            'runAutoprefixer'
-            'runCssShrink'
           ]
 
       when 'jade'

  ]

  # Script optimization tasks
  optimizeScriptTasks = [
    'uglify'
  ]


      when 'deps'
        runOnDeps('buildDep')

  grunt.registerTask 'optimizeStyle', ->
    if grunt.file.exists('public/style.css')
      grunt.task.run [
        'autoprefixer'
        'cssshrink'
      ]

  # We need to manually handle components as the `cwd` path is dynamic
  # depending on the assets
