Closed supermoos closed 5 years ago
As lru-cache does not works well in react-native environment below v5.0.0, so we need to upgrade our dependency. If you need your bundle target to es5, you might make your compiler transpile the lru-cache package as well. example with babelrc:
{
"include": ["/node_modules/lru-cache"]
}
I ended up just using v.3.0.3
released v3.0.5 Thanks for your feedback!
The included LRUCache uses const's, which fails when I try to process it trough Uglify - could we use a version that's properly transpiled?