<?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: Deploying Experience Builder Apps on Azure Static Web App exceeding file limit in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1365466#M83237</link>
    <description>&lt;P&gt;Thanks for the reply and providing a nice clean up script. It would be nice if esri provided more configuration capabilities in the deploy process.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 17:52:43 GMT</pubDate>
    <dc:creator>ClangDevGuy</dc:creator>
    <dc:date>2024-01-02T17:52:43Z</dc:date>
    <item>
      <title>Deploying Experience Builder Apps on Azure Static Web App exceeding file limit</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1273770#M80702</link>
      <description>&lt;P&gt;I am just wondering if anyone had any thoughts on reducing the number of files when deploying custom experience builder apps on Azure Static Web Apps? The file limit is currently 15,000 files and roughly each of my experience builder apps takes about ~5000-8000 files depending on the complexity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get 2/3 apps deployed nicely but it would be nice to have a way of deploying more apps on Azure Static Web Apps.&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 19:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1273770#M80702</guid>
      <dc:creator>ClangDevGuy</dc:creator>
      <dc:date>2023-03-30T19:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying Experience Builder Apps on Azure Static Web App exceeding file limit</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1353391#M82917</link>
      <description>&lt;P&gt;We found the same limitation - with web apps built with ExB 1.13 now creating over 20K files. Our investigation found that&amp;nbsp;ExB adds support for 40 different internationalization (I18n) and translation (T9n) languages - which equates to 14.6K files.&lt;/P&gt;&lt;P&gt;We developed the following PowerShell script to remove non-English&amp;nbsp;I18n and&amp;nbsp;T9n files to reduce the total file count below 15,000 without affecting functionality of the ExB generated web apps.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;#
# Script:      RemoveUnusedLocales.ps1
# Version:     1.0
# Date:        2023-11-24
# Description: Remove unneeded locale files from an Experience Builder generated web app
#

$folderPath = "."
$locales = @("ar", "bg", "bs", "ca", "cs", "da", "de", "el", "es", "et", "fi", "fr", "he", "hr", "hu", "id", "it", "ja", "ko", "lt", "lv", "nb", "nl", "pl", "pt-br", "pt-pt", "ro", "ru", "sk", "sl", "sr", "sv", "th", "tr", "zh-cn", "uk", "vi", "zh-hk", "zh-tw")

foreach ($locale in $locales) {
    $regexPattern = "(t9n.$locale|i18n.$locale|messages_$locale)\.json$"  # Filename pattern of files to remove

    $fileList = Get-ChildItem -Path $folderPath -Recurse | Where-Object { $_.Name -match $regexPattern } | Select-Object -ExpandProperty FullName
	$fileCount = $fileList.Count

	echo "Removing $fileCount locale files that match pattern ""$regexPattern"" ..."
	$fileList | Remove-Item -Force
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 27 Nov 2023 06:13:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1353391#M82917</guid>
      <dc:creator>paul_j_murray</dc:creator>
      <dc:date>2023-11-27T06:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying Experience Builder Apps on Azure Static Web App exceeding file limit</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1365466#M83237</link>
      <description>&lt;P&gt;Thanks for the reply and providing a nice clean up script. It would be nice if esri provided more configuration capabilities in the deploy process.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 17:52:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1365466#M83237</guid>
      <dc:creator>ClangDevGuy</dc:creator>
      <dc:date>2024-01-02T17:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying Experience Builder Apps on Azure Static Web App exceeding file limit</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1679201#M88078</link>
      <description>&lt;P&gt;IM interested in this too. I did for AWS Bucket as website with WAB a few years back.&lt;BR /&gt;Was/is there any issue with CORS?&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website" target="_blank" rel="noopener"&gt;https: // learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website&lt;/A&gt;&lt;BR /&gt;"Cross-Origin Resource Sharing (CORS) support for Azure Storage is not supported with static website.&lt;SPAN&gt;is not supported with static website."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 06:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/deploying-experience-builder-apps-on-azure-static/m-p/1679201#M88078</guid>
      <dc:creator>ShanonLoughton</dc:creator>
      <dc:date>2026-01-22T06:13:47Z</dc:date>
    </item>
  </channel>
</rss>

