title: Strange output using RequireJS to optimize
body: <p>I'm trying to optimize a javascript module from the the terminal. This is the build file (in a file called build.js) I'm running it against:</p>
  
  <pre><code>({
      appDir: '.',
      baseUrl: '.',
  
      optimize: 'none',
      dir: '.',
  
      stubModules: ['cs'],
  
      paths: {
          'cs': 'cs',
          'coffee-script': 'coffee-script'
      },
  
      modules: [{
          name: 'main',
          exclude: ['coffee-script']
      }]
  })
  </code></pre>
  
  <p>In the terminal, I'm running </p>
  
  <pre><code>r.js -o name=build out=main-built.js
  </code></pre>
  
  <p>And here is the resulting contents of main-build.js:</p>
  
  <p><code>({appDir:".",baseUrl:".",optimize:"none",dir:".",stubModules:["cs"],paths:{cs:"cs","coffee-script":"coffee-script"},modules:[{name:"main",exclude:["coffee-script"]}]}),define("build",function(){})</code></p>
  
  <p>I don't understand this output. Why is my module not getting outputted at all? Why is uglify.js being run when I specifically wrote optimize: 'none'? Why is r.js not throwing any errors when I run -o?</p>