         configFile: 'test/conf/karma-conf.coffee'
 
     exec:
-      # Convert CommonJS modules to AMD.
-      convert:
-        command: './node_modules/.bin/r.js -convert _build/commonjs lib'
-
       # This task is used in preference to grunt-selenium-standalone to
       # suppress extraneous console messages and wait for the server to
       # start.

      default:
        expand: true
        ext: '.html'
        src: ['*.pug', 'src/*.pug', 'partials/*.pug', '!partials/include/**']
        dest: '.'
        # The default extDot chops off more than the trailing .pug, e.g.:
        #   src/collections.view.pug -> public/collections.html
        # We want to preserve the filename up to .pug, e.g.:

        NODE_ENV: 'production'

    clean:
      derived: ['javascripts', 'stylesheets', 'fonts', 'html']
      options:
        force: true

