I am trying to optimize my vendor bundle.js as it has swollen up and i am using the material-ui library.
import Card from 'material-ui'; // Very bad as this will import everything
Can someone tell me what the difference between the two import statements are in terms of size of js code imported into your app or are they the same.
import { Card } from 'material-ui';
import Card from 'material-ui/Card'