<?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: @arcgis/core ESM in Angular publishable library? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1160286#M76901</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/284924"&gt;@RichardReinicke&lt;/a&gt;check out the Managing Assets Locally doc here: &lt;A href="https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally&lt;/A&gt;. You can copy the assets from anywhere and you can manually configure the path used by the API for consuming assets. Take a look at that and see if it meets your requirements.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2022 15:01:50 GMT</pubDate>
    <dc:creator>AndyGup</dc:creator>
    <dc:date>2022-04-01T15:01:50Z</dc:date>
    <item>
      <title>@arcgis/core ESM in Angular publishable library?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1157711#M76780</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm in the situtation that I want to create an Angular publishable library with Esri JavaScript logic. Other colleagues should be able to install my npm package and esri assets/css should work out of the box.&lt;/P&gt;&lt;P&gt;CDN is not a problem but I can't figure out the best way to ship esri assets with my library and how I can configure css/assets inside my library so that I can do both:&lt;BR /&gt;&lt;BR /&gt;a) use my library at development time inside my angular workspace and its app projects directly&lt;/P&gt;&lt;P&gt;b) or in another workspace with the npm package.&lt;/P&gt;&lt;P&gt;Does anybody have experience in that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1157711#M76780</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2022-03-25T09:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: @arcgis/core ESM in Angular publishable library?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1158434#M76828</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/284924"&gt;@RichardReinicke&lt;/a&gt; are you putting together a package for public usage, or for internal-use only?&lt;/P&gt;&lt;P&gt;The Angular docs provide guidelines for shipping asset files with a library, in case you hadn't had a chance to review them: &lt;A href="https://angular.io/guide/creating-libraries#managing-assets-in-a-library" target="_blank"&gt;https://angular.io/guide/creating-libraries#managing-assets-in-a-library&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 15:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1158434#M76828</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-03-28T15:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: @arcgis/core ESM in Angular publishable library?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1159423#M76867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;the library / package is for internal usage. It's meant to encapsulate the Esri JS API viewer with a standard toolset and configuration. Other developers should then only consume the components.&lt;BR /&gt;&lt;BR /&gt;Thank you for that useful hint. I will definetly try that out!&lt;BR /&gt;&lt;BR /&gt;But I'm still struggling a little bit with including all the assets in my package. Is there a way to pull assets from our own server similar to esri-loader?&lt;BR /&gt;&lt;BR /&gt;I understand that the ESM sources are meant to be compiled in this case although it increases built time a lot but for CSS it would be enouth to have an option similar to loadCss() where I just point to a main.css on our server.&lt;BR /&gt;&lt;BR /&gt;Thank you again for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 15:00:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1159423#M76867</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2022-03-30T15:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: @arcgis/core ESM in Angular publishable library?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1160215#M76897</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/180"&gt;@AndyGup&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;in addition to my mail from Wednesday.&lt;BR /&gt;&lt;BR /&gt;If I package the esri assets with my package, then the target workspace/project will first of have them twice in node_modules because&amp;nbsp;@arcgis/core will be installed as dependency of my project anyway and will ship these assets as well and furthermore my package will bring the assets again to node_modules.&lt;BR /&gt;&lt;BR /&gt;Also I don't win anything. The consuming app will still be responsible to serve the assets and tell the library where it serves them.&lt;/P&gt;&lt;P&gt;Really I don't see how I can achieve that my library loads and set's up esri on its own. The consuming app should not be rersponsible for that :(. We need a function inside @arcgis/core that loads CSS at runtime from our server like loadCss().&lt;/P&gt;&lt;P&gt;I think its a common requirement to use arcgis/core in an independent module/library where mapping is only a small part of a much bigger application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't it possible that you and your team only set up a basic scenario for that and tell me the best approach? I'm not asking for any specific API functionality. This is something I can figure out myself. It's about the usability and integration of your overall package and the question if we can use it for our projects.&lt;/P&gt;&lt;P&gt;The fallback would be to use esri/leaflet but I really would like to stick to JS api because of the api design and functionality.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 11:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1160215#M76897</guid>
      <dc:creator>RichardReinicke</dc:creator>
      <dc:date>2022-04-01T11:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: @arcgis/core ESM in Angular publishable library?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1160286#M76901</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/284924"&gt;@RichardReinicke&lt;/a&gt;check out the Managing Assets Locally doc here: &lt;A href="https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally&lt;/A&gt;. You can copy the assets from anywhere and you can manually configure the path used by the API for consuming assets. Take a look at that and see if it meets your requirements.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 15:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-core-esm-in-angular-publishable-library/m-p/1160286#M76901</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2022-04-01T15:01:50Z</dc:date>
    </item>
  </channel>
</rss>

