diff --git a/package.json b/package.json index d39b1887..45b69b3a 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,10 @@ "author": "Mark ", "main": "index.js", "module": "index.mjs", + "exports": { + "import": "./index.mjs", + "require": "./index.js" + }, "scripts": { "benchmark": "node benchmark", "build": "rollup --config --failAfterWarnings",