<?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 Building a TypeScript website using the ArcGIS Javascript API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-typescript-website-using-the-arcgis/m-p/1002721#M70851</link>
    <description>&lt;P&gt;I am starting a new GIS website that will be using the ArcGIS Javascript API.&amp;nbsp; We will be using TypeScript for the majority of the site development.&amp;nbsp; The project will also contain several custom widgets as well as customized default widgets.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I have been able to get the test site to build using tsc installed with Typescript.&amp;nbsp; This results in many generated JavaScript files for the main site and related custom widgets&amp;nbsp; The second approach has been using webpack to build the app.&amp;nbsp; This is great except I do not really want to bundle the entire ArcGIS Javascript API and related CSS to host on our system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something in between,&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;without&lt;/STRONG&gt;&lt;/U&gt; adding in a framework such as React or Angular?&amp;nbsp; My pea sized brain is already on overload.&amp;nbsp; I am looking for something to package our custom js/ts code and css/scss to be used in conjunction with the ArcGIS JavaScript API CDN&lt;/P&gt;&lt;P&gt;The two approaches we used are loosely based upon&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;'s demos posted on github noted below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/jsapi-resources/tree/master/4.x/webpack/demo" target="_blank" rel="noopener"&gt;https://github.com/Esri/jsapi-resources/tree/master/4.x/webpack/demo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/jsapi-resources/tree/master/4.x/typescript/demo" target="_blank" rel="noopener"&gt;https://github.com/Esri/jsapi-resources/tree/master/4.x/typescript/demo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 22:19:36 GMT</pubDate>
    <dc:creator>LanceCole</dc:creator>
    <dc:date>2020-11-18T22:19:36Z</dc:date>
    <item>
      <title>Building a TypeScript website using the ArcGIS Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-typescript-website-using-the-arcgis/m-p/1002721#M70851</link>
      <description>&lt;P&gt;I am starting a new GIS website that will be using the ArcGIS Javascript API.&amp;nbsp; We will be using TypeScript for the majority of the site development.&amp;nbsp; The project will also contain several custom widgets as well as customized default widgets.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I have been able to get the test site to build using tsc installed with Typescript.&amp;nbsp; This results in many generated JavaScript files for the main site and related custom widgets&amp;nbsp; The second approach has been using webpack to build the app.&amp;nbsp; This is great except I do not really want to bundle the entire ArcGIS Javascript API and related CSS to host on our system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something in between,&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;without&lt;/STRONG&gt;&lt;/U&gt; adding in a framework such as React or Angular?&amp;nbsp; My pea sized brain is already on overload.&amp;nbsp; I am looking for something to package our custom js/ts code and css/scss to be used in conjunction with the ArcGIS JavaScript API CDN&lt;/P&gt;&lt;P&gt;The two approaches we used are loosely based upon&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;'s demos posted on github noted below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/jsapi-resources/tree/master/4.x/webpack/demo" target="_blank" rel="noopener"&gt;https://github.com/Esri/jsapi-resources/tree/master/4.x/webpack/demo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/jsapi-resources/tree/master/4.x/typescript/demo" target="_blank" rel="noopener"&gt;https://github.com/Esri/jsapi-resources/tree/master/4.x/typescript/demo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 22:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-typescript-website-using-the-arcgis/m-p/1002721#M70851</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2020-11-18T22:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Building a TypeScript website using the ArcGIS Javascript API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-typescript-website-using-the-arcgis/m-p/1003504#M70857</link>
      <description>&lt;P&gt;You can check out this template app, it uses rollup to bundle your code and uses the CDN.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-js-cli/tree/master/templates/basic-cdn/app" target="_blank"&gt;https://github.com/Esri/arcgis-js-cli/tree/master/templates/basic-cdn/app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:24:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-typescript-website-using-the-arcgis/m-p/1003504#M70857</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2020-11-20T16:24:34Z</dc:date>
    </item>
  </channel>
</rss>

