Skip to content

Commit

Permalink
do not externalize hono/context-storage with aws-lambda deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Sep 26, 2024
1 parent b34b2a9 commit d15b11b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ export function deployAwsLambdaPlugin(opts: {
},
configResolved(config) {
entriesFile = `${config.root}/${opts.srcDir}/${SRC_ENTRIES}`;
if (Array.isArray(config.ssr.external)) {
config.ssr.external = config.ssr.external.filter(
(item) => item !== 'hono/context-storage',
);
}
},
resolveId(source) {
if (source === `${opts.srcDir}/${SERVE_JS}`) {
Expand Down

0 comments on commit d15b11b

Please sign in to comment.