We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't think this package works in a NodeNext TS ESM project context:
NodeNext
The text was updated successfully, but these errors were encountered:
This is one fix:
{ "name": "@cloudflare/pages-plugin-honeycomb", "version": "1.0.2", "type": "module", "exports": { "." : { "import": "./index.js", "require": "./index.js", "types": "./index.d.ts" } }, "files": [ "index.js", "index.d.ts", "tsconfig.json" ], "scripts": { "build": "npx wrangler pages functions build --plugin --outfile index.js" }, "dependencies": { "@cloudflare/workers-honeycomb-logger": "^2.3.3" } }
If you need a dedicated CJS build then point to it with require and toss a package.json into the directory therein with "type": "commonjs".
require
"type": "commonjs"
Sorry, something went wrong.
No branches or pull requests
I don't think this package works in a
NodeNext
TS ESM project context:The text was updated successfully, but these errors were encountered: