           css = {}
           if isComponent() and /^\.[\/\\]/.test(module.name)
             module.name = join(config.paths[componentName()], module.name[2..])
+          module.name = updateWithPathsConfig config, module.name
           requirejs.optimize
             baseUrl: argv.staticpath
             paths: pathsConfig()

withOutStaticPath = (path) ->
  path.replace re('^' + argv.staticpath), ''

listTests = (tests, host, port) ->
  for test in tests
    console.log("http://#{host}:#{port}/#{test.replace(/\.js$/, "")}")

            (n) -> n.replace /^css!(\d+:)?/, ""

            # check the paths config, replace the path if it's in there
            (n) -> updateWithPathsConfig config, n

            # add the .css extension
            (n) -> if n[-4..] isnt ".css" then n + ".css" else n
