Skip to content

Commit

Permalink
use US over UK variant
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jan 11, 2021
1 parent c44352f commit 7b7e017
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -13,7 +13,7 @@ Combined with [dangerJS](https://danger.systems/js/) we can inspect

Tree-shaking of Material-UI works out of the box in modern frameworks.
Material-UI exposes its full API on the top-level `material-ui` import.
If you're using ES6 modules and a bundler that supports tree-shaking ([`webpack` >= 2.x](https://webpack.js.org/guides/tree-shaking/), [`parcel` with a flag](https://en.parceljs.org/cli.html#enable-experimental-scope-hoisting/tree-shaking-support)) you can safely use named imports and still get an optimised bundle size automatically:
If you're using ES6 modules and a bundler that supports tree-shaking ([`webpack` >= 2.x](https://webpack.js.org/guides/tree-shaking/), [`parcel` with a flag](https://en.parceljs.org/cli.html#enable-experimental-scope-hoisting/tree-shaking-support)) you can safely use named imports and still get an optimized bundle size automatically:

```js
import { Button, TextField } from '@material-ui/core';
Expand Down

0 comments on commit 7b7e017

Please sign in to comment.