title: Create React App with react-svg-loader without ejecting fails when trying to minify
body: <p>I am using <code>create-react-app</code> to build my React application. I've added <code>react-svg-loader</code> and using it in this way:</p>
  
  <pre><code>export { default as arrowLeft } from '-!react-svg-loader!./arrow-left.svg';
  export { default as arrowRight } from '-!react-svg-loader!./arrow-right.svg';
  </code></pre>
  
  <p>But when I am trying to run <code>yarn build</code> - process fails on minification step:</p>
  
  <blockquote>
    <p>Creating an optimized production build... Failed to compile.</p>
    
    <p>Failed to minify the code from this file:</p>
  
  <pre><code>    ./node_modules/react-svg-loader/lib/loader.js!./src/icons/arrow-left.svg:6
  </code></pre>
    
    <p>Read more here: <a href="http://bit" rel="nofollow noreferrer">http://bit</a> .ly/2tRViJ9</p>
  </blockquote>
  
  <p>Can I fix it somehow <strong>without</strong> ejecting?</p>