           if (fs.lstatSync vpath).isSymbolicLink()
             vpath = fs.readlinkSync vendor
 
-          config.vendors[vname] = vpath
+          browser.vendors[vname] = vpath
 
         else
           # error "Local vendor not found. #{dir}\nCheck your config."


    # project nature
    if config.browser?
      config.nature_is_browser = true
      @_toast_browser config, config.browser
    else
      config.nature_is_node = true
      @_toast_node config.node or {}

  _toast_browser:( base_config, config )->

    # simple mixin
    config[k] = v for k, v of base_config

    # ...: main - mandatory
    unless config.main?
      msg = 'You need to inform the main entry point (module id) for your app.'
      msg += '\nCheck your `toaster.coffee` config file.'
      return error msg

    # ...: minify - optional
    config.minify ?= true # boolean

    # ...: webroot - optional
    config.webroot ?= '' # string
    if @toaster.cli.argv.s? and config.webroot is ''
      msg = 'Inform your webroot before using static server.'
      msg += '\nCheck your `toaster.coffee` config file.'
      return error msg

    # ...: port - optional
    config.port ?= 3000

    # ...: base_url - optional
    if config.base_url?
      if config.base_url.slice -1 isnt '/'
        config.base_url += '/'
    else
       config.base_url = ''

    # ...: vendors - optional
    if config.vendors?
      for vname, vurl of config.vendors

        continue if /^http/m.test vurl


          return error msg

    # ...:optimize - optional
    browser.optimize ?= null

    # ...:optimization method (at least one should be specified)
    if browser.optimize?

      # ...: minify - optional
      browser.minify ?= true # boolean

      if (browser.optimize.merge? or browser.optimize.layers?) is false
        msg = 'Check your `toaster.coffee` at least one method is need in order'
        msg += ' to optimize your project.'
        return error msg

      else if (browser.optimize.merge? and browser.optimize.layers?)
        msg = 'Check your `toaster.coffee`, only one optimization method is '
        msg += 'allowed, please use `layers` or `merge`.'
        return error msg        
