title: Dojo Build Error - ReferenceError: dojo is not defined
body: <p>I'm doing a custom build with dojo 1.6.1.</p>
  
  <p>I get this error: ReferenceError: dojo is not defined.</p>
  
  <p>I reduced the profile to a simple file like this:</p>
  
  <pre><code>dependencies ={
      layers:  [
          {
              name: "myRelease.js",
              dependencies: [
          "dijit._Widget",
          "dijit._Templated"          
             ]
         }
      ],
      prefixes: [
      [ "dijit", "../dijit" ]
     ]
  };
  </code></pre>
  
  <p>but I still get the same error.</p>
  
  <p>Why is dojo undefined? what am I doing wrong?</p>
  
  <p>THanks</p>