Skip to content

Commit 75e2511

Browse files
committed
chore: add esm wrapper
1 parent dedbd82 commit 75e2511

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

packages/ipfs-unixfs-importer/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
2-
"name": "ipfs-unixfs-importer",
3-
"version": "8.0.0",
2+
"name": "@vascosantos/ipfs-unixfs-importer",
3+
"version": "0.0.11",
44
"description": "JavaScript implementation of the UnixFs importer used by IPFS",
55
"leadMaintainer": "Alex Potsides <[email protected]>",
66
"main": "src/index.js",
7+
"exports": {
8+
"import": "./src/wrapper.mjs",
9+
"require": "./src/index.js"
10+
},
711
"browser": {
812
"fs": false
913
},
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { importer } from './index.js'
2+
export { importer }

0 commit comments

Comments
 (0)