<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Bower install in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bower-install/m-p/295813#M27147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone tell me the purpose of having a built.html along with an index.html in the src folder? One file has the dojoConfig set up (index.html) but it is the built.html that is configured in gruntfile.js to be copied to the dist folder. I don't find any documentation on this in the instructions or files.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Faron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2016 20:26:40 GMT</pubDate>
    <dc:creator>JamesFaron</dc:creator>
    <dc:date>2016-05-23T20:26:40Z</dc:date>
    <item>
      <title>Bower install</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bower-install/m-p/295813#M27147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone tell me the purpose of having a built.html along with an index.html in the src folder? One file has the dojoConfig set up (index.html) but it is the built.html that is configured in gruntfile.js to be copied to the dist folder. I don't find any documentation on this in the instructions or files.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jim Faron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 20:26:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bower-install/m-p/295813#M27147</guid>
      <dc:creator>JamesFaron</dc:creator>
      <dc:date>2016-05-23T20:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bower install</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bower-install/m-p/295814#M27148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The built.html has the dojoConfig omitted because it is embedded in the built file for you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/jsapi-resources/blob/master/4.x/bower/dojo/build.profile.js#L176-L184" title="https://github.com/Esri/jsapi-resources/blob/master/4.x/bower/dojo/build.profile.js#L176-L184"&gt;jsapi-resources/build.profile.js at master · Esri/jsapi-resources · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The built.html is copied to the build directory as index.html so the built app will run correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This is only for demonstration purposes&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a production environment, you should use some tooling to modify the HTML file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look at this sample here using &lt;A href="http://gruntjs.com/"&gt;Grunt&lt;/A&gt; that will modify the HTML file during the build process.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/odoe/esrijs-generator-demo/blob/master/src/index.html" title="https://github.com/odoe/esrijs-generator-demo/blob/master/src/index.html"&gt;esrijs-generator-demo/index.html at master · odoe/esrijs-generator-demo · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is using a tool called &lt;A href="https://github.com/dciccale/grunt-processhtml"&gt;grunt-processhtml&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just didn't think it was worth piling on too much tooling for the demo app in the jsapi-resources repo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 16:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bower-install/m-p/295814#M27148</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2016-05-24T16:53:11Z</dc:date>
    </item>
  </channel>
</rss>

