wrangler deploy?wrangler deploy . All external modules are included/bundled in the final code and my client code is able to read the responses.prismjs) could not be resolved. These modules are being imported by the Page Function through other modules outside my functions/ directory. Basically, here is a simplified view of my project structure:functions/api/comments.ts script imports shared modules from ../../config/*, such as for Markdown processing (I reuse the same Markdown processor to parse comments as I do on my site).package.json at the root of the project.