@vercel/hono 0.2.16 → 0.2.17
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/index.js +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34,6 +34,7 @@ __export(src_exports, {
|
|
|
34
34
|
entrypointCallback: () => entrypointCallback,
|
|
35
35
|
findEntrypoint: () => findEntrypoint,
|
|
36
36
|
name: () => name,
|
|
37
|
+
prepareCache: () => prepareCache,
|
|
37
38
|
require_: () => require_,
|
|
38
39
|
shouldServe: () => shouldServe,
|
|
39
40
|
startDevServer: () => startDevServer,
|
|
@@ -203,6 +204,12 @@ var findMainPackageEntrypoint = (files) => {
|
|
|
203
204
|
return null;
|
|
204
205
|
};
|
|
205
206
|
|
|
207
|
+
// src/prepare-cache.ts
|
|
208
|
+
var import_build_utils2 = require("@vercel/build-utils");
|
|
209
|
+
var prepareCache = ({ repoRootPath, workPath }) => {
|
|
210
|
+
return (0, import_build_utils2.glob)(import_build_utils2.defaultCachePathGlob, repoRootPath || workPath);
|
|
211
|
+
};
|
|
212
|
+
|
|
206
213
|
// src/index.ts
|
|
207
214
|
var import_node2 = require("@vercel/node");
|
|
208
215
|
var version = 3;
|
|
@@ -229,6 +236,7 @@ var startDevServer = async (opts) => {
|
|
|
229
236
|
entrypointCallback,
|
|
230
237
|
findEntrypoint,
|
|
231
238
|
name,
|
|
239
|
+
prepareCache,
|
|
232
240
|
require_,
|
|
233
241
|
shouldServe,
|
|
234
242
|
startDevServer,
|