title: react-datepicker styles are not being not applied on deployed build
body: <p>I'm using the react-datepicker npm module and its styles got broke (styles are not being applied) when I deploy the build, it's working fine in the local environment.</p>
  <p>I've imported its styles like this:
  import 'react-datepicker/dist/react-datepicker.css';</p>
  <p>I found somewhere to import like this:
  import './../../node_modules/react-datepicker/dist/react-datepicker.css';</p>
  <p>It's also not working.</p>
  <p>I thought this could be the reason because of SSR so I removed SSR for this component but had no luck with CSR as well.</p>
  <p><strong>Current Result</strong></p>
  <p><a href="https://i.stack.imgur.com/tJKoK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tJKoK.png" alt="enter image description here" /></a></p>
  <p><strong>Desired Result</strong></p>
  <p><a href="https://i.stack.imgur.com/m9GbK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/m9GbK.png" alt="enter image description here" /></a></p>
  <p>Here is my Component code:</p>
  <pre><code> import React from 'react';
   import DatePicker from 'react-datepicker';
  
   import calendarIcon from './../../assets/images/calendar-icon.svg';
  
   import 'react-datepicker/dist/react-datepicker.css';
   // import 'react-datepicker/dist/react-datepicker-cssmodules.min.css';
   import './Datepicker.scss';
  
   const Datepicker = ({ datepickerClassName, datepickerStyle, 
   selectedDate, datepickerInputClassName, handleChange }) =&gt; (
         &lt;div className={`datepicker d-flex align-center 
             ${!!datepickerClassName ? datepickerClassName : ''}`}
             style= {datepickerStyle}
         &gt;
         &lt;span className='d-flex align-center icon-container'&gt;
             &lt;img src={calendarIcon} className='icon' /&gt;
         &lt;/span&gt;
  
         &lt;DatePicker
              placeholderText='DD/MM/YYYY'
              dateFormat='dd/MM/yyyy'
              id='start-date'
              autoComplete='off'
              selected={selectedDate}
              className={datepickerInputClassName}
              onChange={handleChange}
          /&gt;
      &lt;/div&gt;
  );
  
  export default Datepicker;
  </code></pre>
  <p>Please help me with this if someone faced this issue or has some idea about this.</p>