Skip to content

Commit

Permalink
remove special webapck usage instructions as it just works
Browse files Browse the repository at this point in the history
  • Loading branch information
osdevisnot committed Sep 27, 2019
1 parent 32da32a commit bd366fc
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,6 @@ const memoized = _.memoize(myFunc);
memoized.cache.max = 10;
```


For usage with webpack, you can `import lru from 'tiny-lru/lib/tiny-lru.es5'` or create an [alias](https://webpack.js.org/configuration/resolve/#resolve-alias):
```javascript
resolve: {
alias: {
'tiny-lru': 'tiny-lru/lib/tiny-lru.es5.js'
}
}

// This should work now
import lru from 'tiny-lru';
```

## clear
### Method

Expand Down

0 comments on commit bd366fc

Please sign in to comment.