Skip to content

Commit

Permalink
chore: bump universal-middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Nov 27, 2024
1 parent 49afb5b commit 24a2ab6
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 137 deletions.
24 changes: 12 additions & 12 deletions packages/vike-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@
"types": "./dist/universal-elysia-handler-vike.handler.d.ts",
"import": "./dist/universal-elysia-handler-vike.handler.js",
"default": "./dist/universal-elysia-handler-vike.handler.js"
},
"./vercel-edge": {
"types": "./dist/universal-vercel-edge-handler-vike.handler.d.ts",
"import": "./dist/universal-vercel-edge-handler-vike.handler.js",
"default": "./dist/universal-vercel-edge-handler-vike.handler.js"
},
"./vercel-node": {
"types": "./dist/universal-vercel-node-handler-vike.handler.d.ts",
"import": "./dist/universal-vercel-node-handler-vike.handler.js",
"default": "./dist/universal-vercel-node-handler-vike.handler.js"
}
},
"scripts": {
Expand Down Expand Up @@ -89,23 +99,13 @@
"hono": "^4.6.3",
"tsup": "^8.3.0",
"typescript": "^5.5.4",
"universal-middleware": "^0.3.8",
"universal-middleware": "^0.4.0",
"vike": "^0.4.198",
"vite": "^5.4.8"
},
"files": [
"dist/"
],
"repository": "github:vikejs/vike-node",
"license": "MIT",
"optionalDependencies": {
"@universal-middleware/cloudflare": "^0",
"@universal-middleware/elysia": "^0",
"@universal-middleware/express": "^0",
"@universal-middleware/fastify": "^0",
"@universal-middleware/h3": "^0",
"@universal-middleware/hattip": "^0",
"@universal-middleware/hono": "^0",
"@universal-middleware/webroute": "^0"
}
"license": "MIT"
}
6 changes: 4 additions & 2 deletions packages/vike-node/tsup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export default defineConfig([
external: external.map((e) => [e, `node:${e}`]).flat(1),
dts: true,
outDir: 'dist',
bundle: true
bundle: true,
treeshake: true
},
{
entry: {
Expand All @@ -37,6 +38,7 @@ export default defineConfig([
opts.outbase = 'src'
},
dts: true,
outDir: 'dist'
outDir: 'dist',
treeshake: true
}
])
Loading

0 comments on commit 24a2ab6

Please sign in to comment.