I'm currently working on optimizing my vendor bundle.js file, which has gotten quite large due to my use of the material-ui library.
import Card from 'material-ui'; // This is not ideal as it imports everything
Could someone please explain the difference between these two import statements in terms of the amount of JavaScript code they bring into your application? Are they the same size or different?
import { Card } from 'material-ui';
import Card from 'material-ui/Card'