feat: re-add cjs support
Showing
| ... | ... | @@ -5,13 +5,13 @@ |
| "author": "Travis Fischer <travis@transitivebullsh.it>", | ||
| "repository": "transitive-bullshit/chatgpt-api", | ||
| "license": "MIT", | ||
| "type": "module", | ||
| "source": "./src/index.ts", | ||
| "types": "./build/index.d.ts", | ||
| "main": "./build/index.js", | ||
| "exports": { | ||
| ".": { | ||
| "import": "./build/index.js", | ||
| "default": "./build/index.js", | ||
| "import": "./build/index.mjs", | ||
| "require": "./build/index.js", | ||
| "types": "./build/index.d.ts" | ||
| } | ||
| }, | ||
| ... | ... |
Please register or sign in to comment