<?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: React js asset size limit(1.5mb) in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/React-js-asset-size-limit-1-5mb/m-p/441984#M23343</link>
    <description>&lt;P&gt;Have you looked into the Hubspot React Boilerplate:&amp;nbsp;&lt;A href="https://github.com/HubSpot/cms-react-boilerplate?" target="_blank"&gt;https://github.com/HubSpot/cms-react-boilerplate?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry if this is obvious but I'm still learning myself. When that boilerplate compiles it creates a `/dist` folder with all of your packaged depenencies. You need to import and export your dependencies so that they are available when you need them. Take a look at how `src/components/Card.js` exports `Card` and then `src/App.js` imports `Card` and exports `App` until finally `index.js` imports `App`—you need to setup that kind of system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 09:29:09 GMT</pubDate>
    <dc:creator>theAndreyK</dc:creator>
    <dc:date>2021-05-28T09:29:09Z</dc:date>
  </channel>
</rss>

