diff --git a/package.json b/package.json index 5457b6e2ec..fa9aeb1e62 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,14 @@ "description": "A Query Language and Runtime which can target any service.", "license": "MIT", "private": true, - "main": "index", - "module": "index.mjs", + "type": "commonjs", + "main": "index.js", + "exports": { + ".": { + "require": "./index.js", + "import": "./index.mjs" + } + }, "typesVersions": { ">=4.1.0": { "*": [