diff --git a/package.json b/package.json index 5559446f2a..1f895867fa 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,15 @@ "name": "@fastly/js-compute", "version": "3.38.2", "license": "Apache-2.0", - "main": "dist/cli/js-compute-runtime-cli.js", + "main": "types/index.js", "types": "types/index.d.ts", "type": "module", + "exports": { + ".": { + "types": "./types/index.d.ts", + "default": "./types/index.js" + } + }, "repository": { "type": "git", "url": "https://github.com/fastly/js-compute-runtime" diff --git a/types/index.js b/types/index.js new file mode 100644 index 0000000000..cb0ff5c3b5 --- /dev/null +++ b/types/index.js @@ -0,0 +1 @@ +export {};