title: Make a build in dojo 1.7.2
body: <p>Well, I read all about build and all about dojo. Three days nightmare and so on...  Need some help. </p>
  
  <p>I'm using the last version of dojo. 1.7.2 in:</p>
  
  <pre><code>&lt;/sites/somesite/scripts/dojo17&gt;
  which contains 
  --dojo
  --dijit
  --dojox
  --utils
  </code></pre>
  
  <p>I use the following profile:</p>
  
  <p></p>
  
  <pre><code>dependencies = {
  stripConsole: "all",
  action: "release",
  optimize: "shrinksafe",
  layerOptimize: "shrinksafe",
  //optimize: "closure",
  //layerOptimize: "closure",
  //mini: true,
  //localeList : 'en-us', 
  //cssOptimize: "comments",      
  //selectorEngine: "acme",
  releaseName: "content7",
  layers: [
  {
      // This is a specially named layer, literally 'dojo.js'
      // adding dependencies to this layer will include the modules
      // in addition to the standard dojo.js base APIs.
      name: "dojo.js",
      customBase : true,
          dependencies: [ 
            "dojo.fx",
            "dijit.form.Button",              
            "dojox.gauges.AnalogGauge",
            "dojox.gauges.AnalogArcIndicator",
            "dojox.gauges.AnalogNeedleIndicator",
            "myApp.smartmix"
      ]           
      }
  ],
  prefixes: [
      [ "dijit", "../dijit" ], 
      [ "dojox", "../dojox" ],
      [ "myApp", "../../../myApp" ]
  ]
  };
  </code></pre>
  
  <p><b>then i use this build script</b></p>
  
  <pre><code>./build.sh profile=../../../../myApp/myApp.profile.js releaseDir=../../../release
  </code></pre>
  
  <p>And I got the</p>
  
  <pre><code>&lt;/sites/somesite/scripts/release/content7&gt;
  which contains
  --dijit
  --dojo
  --dojox
  --myApp
  </code></pre>
  
  <p>NOW in my index.html file I have</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  //&lt;![CDATA[
      var djConfig = {
          parseOnLoad: true,
          isDebug: false,
          modulePaths: {
              'myApp': '../myApp'
          }
      };
  //]]&gt;
  &lt;/script&gt;
  
  &lt;script type="text/javascript" src="scripts/release/content7/dojo/dojo.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
      dojo.require('myApp.smartmix');
  &lt;/script&gt;
  </code></pre>
  
  <p>And YES this reduce the 230 files loaded without the build to 153 files.
  BUT stills I (want to) believe that is posibble to reduce to one or 2 files.</p>
  
  <p>But HOW?????</p>
  
  <p>Please, some help will be appreciated!!!!</p>