bun-dev-server 0.9.4 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bunServeConfig.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/bunServeConfig.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1195,9 +1195,9 @@ async function startBunDevServer(serverConfig, importMeta) {
|
|
|
1195
1195
|
port: finalConfig.port,
|
|
1196
1196
|
development: true,
|
|
1197
1197
|
tls: finalConfig.tls,
|
|
1198
|
-
|
|
1198
|
+
routes: {
|
|
1199
1199
|
"/favicon.ico": withCORSHeaders(new Response("", { status: 404 })),
|
|
1200
|
-
...finalConfig.
|
|
1200
|
+
...finalConfig.routes
|
|
1201
1201
|
},
|
|
1202
1202
|
async fetch(req, server) {
|
|
1203
1203
|
if (req.method === "OPTIONS") {
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"exports": {
|
|
25
25
|
".": "./dist/index.js"
|
|
26
26
|
},
|
|
27
|
-
"version": "0.9.
|
|
27
|
+
"version": "0.9.5",
|
|
28
28
|
"module": "index.ts",
|
|
29
29
|
"type": "module",
|
|
30
30
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"build": "bun run ./build.ts"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/bun": "^1.2.
|
|
35
|
+
"@types/bun": "^1.2.4"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"typescript": "^5.7.3"
|