           '!dist/scripts/main.js'
           '!dist/scripts/require.js'
           '!dist/scripts/settings.js'
+          '!dist/scripts/aloha.js'
         ]
         filter: 'isFile'
       directories:

              'cs!pages/contents/contents'
              'cs!pages/search/search'
              'cs!pages/workspace/workspace'

              # FIX: edit modules should be loaded in separate modules
              'select2'
              'cs!modules/media/editbar/editbar'
              'cs!helpers/backbone/views/editable'

              'cs!configs/aloha'
              'cs!pages/about-us/about-us'
              'cs!pages/people/people'
            ]
            exclude: ['coffee-script', 'less/normalize']
            excludeShallow: ['settings']
          }]

  alohaBuildConfig.wrap =
    startFile: 'bower_components/aloha-editor/build/aloha/closure-start.frag'
    endFile: 'bower_components/aloha-editor/build/aloha/closure-end.frag'
  alohaBuildConfig.skipDirOptimize = true
  alohaBuildConfig.optimize = "uglify2"
  alohaBuildConfig.optimizeCss = "standard"
  alohaBuildConfig.separateCSS = false
  alohaBuildConfig.preserveLicenseComments = false

  # Project configuration.
  grunt.initConfig
