<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sharan</title>
    <description>The latest articles on DEV Community by Sharan (@shamariyan).</description>
    <link>https://dev.to/shamariyan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F672033%2Fbb3ae9c6-31bf-4696-b79f-2e0cdf74e8aa.jpeg</url>
      <title>DEV Community: Sharan</title>
      <link>https://dev.to/shamariyan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shamariyan"/>
    <language>en</language>
    <item>
      <title>How to serve sitemap.xml file in the build folder after building react &amp; webpack application </title>
      <dc:creator>Sharan</dc:creator>
      <pubDate>Fri, 11 Feb 2022 08:11:20 +0000</pubDate>
      <link>https://dev.to/shamariyan/how-to-serve-sitemapxml-file-in-the-build-folder-after-building-react-webpack-application-52g1</link>
      <guid>https://dev.to/shamariyan/how-to-serve-sitemapxml-file-in-the-build-folder-after-building-react-webpack-application-52g1</guid>
      <description>&lt;p&gt;I have a sitemap.xml file in the public folder of my react application. &lt;strong&gt;I can view the sitemap during development in localhost, but when deployed to aws amplify it is not available. So I tried to build it locally and the sitemap was not served in build/dist folder.&lt;/strong&gt; Can someone please help me with the webpack configuration to make the sitemap available in dist/build folder.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VUINIEOY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2r1q0im9ziwixn20icfr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VUINIEOY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2r1q0im9ziwixn20icfr.png" alt="Before building" width="544" height="1045"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KC9GDb89--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zz9nh1g32ilc7uus28ai.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KC9GDb89--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zz9nh1g32ilc7uus28ai.png" alt="After running npm build" width="556" height="1115"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>webpack</category>
      <category>sitemap</category>
    </item>
  </channel>
</rss>
