<?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 Re: Has anyone ever used Grit to convert standard JavaScript imports to CDN $arcgis.import function calls? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/has-anyone-ever-used-grit-to-convert-standard/m-p/1677688#M88063</link>
    <description>&lt;P&gt;I have not used this (and haven't seen it mentioned before), but looks interesting. I can try and take a crack at it though. Seems to simplify some regex I would probably would have done, lol.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jan 2026 22:15:07 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2026-01-13T22:15:07Z</dc:date>
    <item>
      <title>Has anyone ever used Grit to convert standard JavaScript imports to CDN $arcgis.import function calls?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/has-anyone-ever-used-grit-to-convert-standard/m-p/1677336#M88059</link>
      <description>&lt;P&gt;I just learned about a tool called &lt;A href="https://docs.grit.io/" target="_blank" rel="noopener"&gt;Grit&lt;/A&gt;, which is a tool for rewriting code. Has anyone here ever used it in their own projects?&lt;/P&gt;&lt;P&gt;Grit looks like it would be useful in my build process to covert standard JavaScript &lt;A href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import" target="_blank" rel="noopener"&gt;import&lt;/A&gt;s and dynamic imports into calls to the &lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/future-proof-your-arcgis-javascript-app" target="_blank" rel="noopener"&gt;$arcgis.import&lt;/A&gt; function.&lt;/P&gt;&lt;P&gt;I would like to avoid reinventing the wheel, so before I try to implement this on my own, I was wondering if anyone here&amp;nbsp;had already used Grit in this manner.&lt;/P&gt;&lt;P&gt;(Grit seems like the kind of thing &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7384"&gt;@ReneRubalcava&lt;/a&gt;&amp;nbsp;might have tried out, but I didn't find anything on his YouTube channel or &lt;A href="https://odoe.net/blog" target="_blank" rel="noopener"&gt;blog&lt;/A&gt;.)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 17:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/has-anyone-ever-used-grit-to-convert-standard/m-p/1677336#M88059</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2026-01-12T17:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone ever used Grit to convert standard JavaScript imports to CDN $arcgis.import function calls?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/has-anyone-ever-used-grit-to-convert-standard/m-p/1677688#M88063</link>
      <description>&lt;P&gt;I have not used this (and haven't seen it mentioned before), but looks interesting. I can try and take a crack at it though. Seems to simplify some regex I would probably would have done, lol.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 22:15:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/has-anyone-ever-used-grit-to-convert-standard/m-p/1677688#M88063</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2026-01-13T22:15:07Z</dc:date>
    </item>
  </channel>
</rss>

