title: Reactjs app build size taking too much space
body: <p>I have used code splitting in my app to reduce bundle size. In my build folder it contains 20-30 chunks files and also each chunk has [name].chunk.js.map which is taking too much space. How we can reduce the build folder size. The total size of build folder is around 107 Mb.</p>
  
  <p>Code Splitting:</p>
  
  <pre><code>/**
   * AsyncComponent
   * Code Splitting Component / Server Side Rendering
   */
  import React from 'react';
  import Loadable from 'react-loadable';
  
  // Abc page loader
  import AbcPageLoader from '../AbcPageLoader/AbcPageLoader';
  
  // dashboard
  const AsyncDashboardComponent = Loadable({
      loader: () =&gt; import("../../routes/dashboard/dashboard-v1"),
      loading: () =&gt; &lt;AbcPageLoader /&gt;,
  });
  
  // widgets
  const AsyncWidgetsComponent = Loadable({
      loader: () =&gt; import("../../routes/widgets"),
      loading: () =&gt; &lt;AbcPageLoader /&gt;,
  });
  
  export { AsyncDashboardComponent, AsyncWidgetsComponent  };
  </code></pre>