hono
hono copied to clipboard
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 has this been tested?
This matter will be resolved in the PR #1804.
@yusukebe
I think that this issue was solved
Yes. We can close this. Thanks!