         v
   res
 
-exports.plugins = values
+@plugins = values
   cmdize: new cmdize
   defines: new webpack.DefinePlugin
     PACKAGE: stringify require '../package'

webpack = require 'webpack'
cmdize = require './cmdize'

exports.entry = 
  cli: "./src"
  setup: "./src/setup"

exports.output = 
  path: "tmp",
  filename: "[name].js"

values = (map)->
  v for k, v of map

exports.module = 
  loaders: values
    coffee:
      test: /[.]coffee$/

brk = (s)->
  s.split ' '

@resolve =
  extensions: brk " .js .coffee .litcoffee .coffee.md .cmds"

@resolveLoader =
  alias:
    cmds: require.resolve './cmds'

