   extension: 'hbs'
   precompile: off
   root: null
-  modulesPrefix: ''
+  modulesPrefix: 'module.exports = '
 
   constructor: (@config) ->
     if @config.files.templates.precompile is on
       @precompile = on
     if @config.files.templates.root?
       @root = sysPath.join 'app', @config.files.templates.root, sysPath.sep
-    if @config.modules.wrapper is on
-      @modulesPrefix = 'module.exports = '
+    if @config.modules.wrapper is off
+      @modulesPrefix = ''
     null
 
   compile: (data, path, callback) ->

    catch err
      error = err
    finally
      callback error, result
sysPath     = require 'path'
compileHBS  = require './ember-handlebars-compiler'

module.exports = class EmberHandlebarsCompiler
