 
 
   validate_wrappers:( config )->
-    if config.wrappers is null
+    unless config.wrappers?
       config.wrappers = javascript: 'amd', style: 'amd'
     else
       config.wrappers.javascript ?= 'amd'


  setup:( config )=>

    return unless @validate_server config
    return unless @validate_sources config
    return unless @validate_excludes config
    return unless @validate_includes config
    return unless @validate_destination config
    return unless @validate_wrappers config
    return unless @validate_vendors config

    @confs.push config



  validate_server:( config )->

    return yes

  validate_destination:( config )->
    unless config.destination?
      msg = 'You need to inform a destination folder, check your config file.'
      return error msg

