feat: remove commonjs support
Showing

... | @@ -5,13 +5,13 @@ | ... | @@ -5,13 +5,13 @@ |
"author": "Travis Fischer <travis@transitivebullsh.it>", | "author": "Travis Fischer <travis@transitivebullsh.it>", | ||
"repository": "transitive-bullshit/chatgpt-api", | "repository": "transitive-bullshit/chatgpt-api", | ||
"license": "MIT", | "license": "MIT", | ||
"type": "module", | |||
"source": "./src/index.ts", | "source": "./src/index.ts", | ||
"types": "./build/index.d.ts", | "types": "./build/index.d.ts", | ||
"main": "./build/index.js", | |||
"exports": { | "exports": { | ||
".": { | ".": { | ||
"import": "./build/index.mjs", | "import": "./build/index.js", | ||
"require": "./build/index.js", | "default": "./build/index.js", | ||
"types": "./build/index.d.ts" | "types": "./build/index.d.ts" | ||
} | } | ||
}, | }, | ||
... | ... |