Add hono, move to esm esbuild output

This commit is contained in:
dangered wolf 2023-11-08 20:45:15 -05:00
parent 0a27b37bd1
commit 396954a4ae
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58
3 changed files with 11 additions and 0 deletions

View file

@ -62,6 +62,7 @@ await esbuild.build({
outdir: 'dist', outdir: 'dist',
minify: true, minify: true,
bundle: true, bundle: true,
format: 'esm',
plugins: [ plugins: [
sentryEsbuildPlugin({ sentryEsbuildPlugin({
org: process.env.SENTRY_ORG, org: process.env.SENTRY_ORG,

9
package-lock.json generated
View file

@ -9,6 +9,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"hono": "^3.9.2",
"itty-router": "^4.0.23", "itty-router": "^4.0.23",
"toucan-js": "^3.3.1" "toucan-js": "^3.3.1"
}, },
@ -4255,6 +4256,14 @@
"node": ">= 0.4" "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": { "node_modules/html-escaper": {
"version": "2.0.2", "version": "2.0.2",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",

View file

@ -38,6 +38,7 @@
"wrangler": "^3.15.0" "wrangler": "^3.15.0"
}, },
"dependencies": { "dependencies": {
"hono": "^3.9.2",
"itty-router": "^4.0.23", "itty-router": "^4.0.23",
"toucan-js": "^3.3.1" "toucan-js": "^3.3.1"
} }