Skip to content

Commit

Permalink
correct cjs export
Browse files Browse the repository at this point in the history
Fix: #283
  • Loading branch information
isaacs committed Mar 15, 2023
1 parent 665b41f commit 6e7d2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index-cjs.ts
@@ -1,3 +1,3 @@
import LRUCache from './index.js'

export = LRUCache
export = Object.assign(LRUCache, { default: LRUCache })

0 comments on commit 6e7d2a9

Please sign in to comment.