Questions: 1. How does cloudflare functions handle utility/helper .ts or .js functions in the functi
Questions:
Under the routing information in the docs, wasn't made explicit either regarding utility and helper funcs.
For EX: I have repeating code in multiple routes that are exporting onRequest that i would like to refactor out to to a single util module in the same directory, and not deploy that module as a route
- How does cloudflare functions handle utility/helper .ts or .js functions in the functions directory when using file based routing?
- Any way to see what our actual functions bundled build file that is going to be deployed will look like while developing? npx wrangler pages ... something
Under the routing information in the docs, wasn't made explicit either regarding utility and helper funcs.
For EX: I have repeating code in multiple routes that are exporting onRequest that i would like to refactor out to to a single util module in the same directory, and not deploy that module as a route







