title: Code using dynamic import is also part of webpack bundle in React project
body: <p>I am using the following code:</p>
  
  <pre><code>const image = React.lazy(() =&gt; import('../../../images').then(({ errorImage }) =&gt; ({ default: permissionErrorImage })));
          return (
              &lt;div&gt;
                  &lt;img
                      src={image.name}
                      className="error-image"
                  /&gt;
              &lt;div&gt;    
          );
  </code></pre>
  
  <p>I am checking bundle size using webpack bundle analyzer and it's the same when normal import is used and when dynamic import is used.</p>