diff --git a/esbuild.config.mjs b/esbuild.config.mjs index 82f22d9..ab42ea5 100644 --- a/esbuild.config.mjs +++ b/esbuild.config.mjs @@ -62,6 +62,7 @@ await esbuild.build({ outdir: 'dist', minify: true, bundle: true, + format: 'esm', plugins: [ sentryEsbuildPlugin({ org: process.env.SENTRY_ORG, diff --git a/package-lock.json b/package-lock.json index 9c44fd9..27f2ab1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { + "hono": "^3.9.2", "itty-router": "^4.0.23", "toucan-js": "^3.3.1" }, @@ -4255,6 +4256,14 @@ "node": ">= 0.4" } }, + "node_modules/hono": { + "version": "3.9.2", + "resolved": "https://registry.npmjs.org/hono/-/hono-3.9.2.tgz", + "integrity": "sha512-180NOiMadqU3lGmN6ajPDZvZPWus3a9mtVaAUR9uG0SImngBwRLA8vbnV0oUfUAgFT4nX55sGV9dVA06OuikHA==", + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", diff --git a/package.json b/package.json index b3e54c0..50b2ccf 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "wrangler": "^3.15.0" }, "dependencies": { + "hono": "^3.9.2", "itty-router": "^4.0.23", "toucan-js": "^3.3.1" }