title: Module not found but it is there when pushing to Heroku
body: <p>I am trying push my project to heroku but I keep getting the error</p>
  <blockquote>
  <p>Module not found: Error: Can't resolve '../views/Newsfeed/Newfeed' in '/tmp/build_8a36e641e1384d378001a98e49df0ea1/client/src/routes'</p>
  </blockquote>
  <p>The other views don't have any problem except this one? And even when I run my server locally I never get this error. What am I missing?</p>
  <blockquote>
  <p>$git add .</p>
  <p>$git commit -am &quot;May the force be with you&quot;</p>
  <p>$git push heroku master</p>
  </blockquote>
  <p><strong>/src/routes/Dashboard.jsx</strong></p>
  <p><strong>This is the only file that uses this view</strong></p>
  <pre><code>  import Dashboard from &quot;views/Dashboard/Dashboard.jsx&quot;;
  --&gt;    import NewsFeed from &quot;views/NewsFeed/NewsFeed&quot;;
      import Calendar from &quot;views/Calendar/Calendar.jsx&quot;;
      //import Widgets from &quot;views/Widgets/Widgets.jsx&quot;;
      import UserProfile from &quot;views/Pages/UserProfile.jsx&quot;;
      
      // @material-ui/icons
      import DashboardIcon from &quot;@material-ui/icons/Dashboard&quot;;
      import User from &quot;@material-ui/icons/Person&quot;;
      import DateRange from &quot;@material-ui/icons/DateRange&quot;;
      import FeedIcon from &quot;@material-ui/icons/RssFeed&quot;;
      
      var dashRoutes = [
        {
          path: &quot;/dashboard&quot;,
          name: &quot;Dashboard&quot;,
          icon: DashboardIcon,
          component: Dashboard
        },
        {
          path: &quot;/user-page&quot;,
          name: &quot;User Profile&quot;,
          icon: User,
          component: UserProfile
        },
        {
          path: &quot;/newsfeed&quot;,
          name: &quot;Newsfeed&quot;,
          icon: FeedIcon,
    --&gt;      component: NewsFeed
        },
        { path: &quot;/calendar&quot;, name: &quot;Calendar&quot;, icon: DateRange, component: Calendar },
        {
          redirect: true,
          path: &quot;/&quot;,
          pathTo: &quot;/dashboard&quot;,
          name: &quot;Dashboard&quot;
        }
      ];
      export default dashRoutes;
  </code></pre>
  <p><img src="https://i.stack.imgur.com/MT2fK.png" alt="enter image description here" /></p>
  <p><strong>Update</strong>
  tried changing extension to <code>.jsx</code> still error</p>