diff --git a/package.json b/package.json index 929f01d52..4fd970fd8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "main": "./index.js", "types": "index.d.ts", "exports": { - "require": "./index.js" + "require": "./index.js", + "import": "./index.js" }, "scripts": { "test": "npm run build && npm run lint && tap",