You probably need `export { Foo } from './foo'` in your index.js/ts
You probably need
export { Foo } from './foo' in your index.js/tsexport { Foo } from './foo'export, not import.
otel-cf-workers package setup, so I'd want to attach logs to traces automatically and have the logs easily searchable within Baselime.
global rate limit 1200 requests per 5 minutes, shared with your account including dashboard, and all request have to go back to core/no edge caching
exportimportotel-cf-workers// entrypoint/userEntrypoint.ts
// Not recognize in this file
export class UserStore extends WorkerEntrypoint<Env> {
...
}// index.ts
// If I copy all UserStore content in index, it's ok.
export default class extends WorkerEntrypoint {
async fetch() {
const response = `
Version: 1.0.0\n
Code Name: Piston
Description: Database Worker\n
Changes: Initial version\n
Health Check: OK
`;
return new Response(response, { status: 200 });
}
}import { UserStore } from "./entrypoints/userEntrypoint"