Skip to content
New issue

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

Update server-static-module.ts #1182

Closed
wants to merge 1 commit into from
Closed

Commits on Jun 16, 2023

  1. Update server-static-module.ts

    `__STATIC_CONTENT_MANIFEST` can not be resolved when compiling outside of CloudFlares worker, however it is available at run time.
    
    Compiling from ESbuild:
    ```
    ✘ [ERROR] Could not resolve "__STATIC_CONTENT_MANIFEST"
    
        node_modules/hono/dist/adapter/cloudflare-workers/server-static-module.js:2:21:
          2 │ import manifest from "__STATIC_CONTENT_MANIFEST";
            ╵                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
      You can mark the path "__STATIC_CONTENT_MANIFEST" as external to exclude it from the bundle, which
      will remove this error.
    ```
    JeffBue committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    b6ee217 View commit details
    Browse the repository at this point in the history