-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Description
Currently our bin scripts point to the same root index.ts file that exposes our public API. The implication is that developers cannot import {foo} from "@google-cloud/functions-framework" without spinning up the webserver. This adds some complexity to local development and testing workflows.
I think a reasonable change would be to extract the initialization logic into a separate file (eg main.ts) that spins up the webserver. Then update our bin scripts to point to that file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels