Skip to content

Commit

Permalink
Fix typo in the ESM doc (skip ci)
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Nov 21, 2019
1 parent d1f0e54 commit 6fe156d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
that enables tree-shaking for bundlers, like [rollup.js](http://rollupjs.org)
and [webpack](https://webpack.js.org).

If you have tree-shaking enabled in your browser, just import functions normally:
If you have tree-shaking enabled in your bundler, just import functions normally:

```javascript
import { format, parse } from 'date-fns'
Expand All @@ -21,4 +21,4 @@ import * as format from 'date-fns/format'

// Now
import format from 'date-fns/format'
```
```

0 comments on commit 6fe156d

Please sign in to comment.