feat(wrangler): 添加静态资源部署配置并生成中间件文件
添加assets配置用于部署静态资源,同时生成wrangler中间件相关文件
This commit is contained in:
12
.wrangler/tmp/bundle-udatNV/middleware-insertion-facade.js
Normal file
12
.wrangler/tmp/bundle-udatNV/middleware-insertion-facade.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import worker, * as OTHER_EXPORTS from "D:\\github\\pixivnow\\functions\\[[path]].ts";
|
||||
import * as __MIDDLEWARE_0__ from "C:\\Users\\15765\\AppData\\Roaming\\npm\\node_modules\\wrangler\\templates\\middleware\\middleware-ensure-req-body-drained.ts";
|
||||
import * as __MIDDLEWARE_1__ from "C:\\Users\\15765\\AppData\\Roaming\\npm\\node_modules\\wrangler\\templates\\middleware\\middleware-miniflare3-json-error.ts";
|
||||
import * as __MIDDLEWARE_2__ from "C:\\Users\\15765\\AppData\\Roaming\\npm\\node_modules\\wrangler\\templates\\middleware\\middleware-serve-static-assets.ts";
|
||||
|
||||
export * from "D:\\github\\pixivnow\\functions\\[[path]].ts";
|
||||
|
||||
export const __INTERNAL_WRANGLER_MIDDLEWARE__ = [
|
||||
...(OTHER_EXPORTS.__INJECT_FOR_TESTING_WRANGLER_MIDDLEWARE__ ?? []),
|
||||
__MIDDLEWARE_0__.default,__MIDDLEWARE_1__.default,__MIDDLEWARE_2__.default
|
||||
]
|
||||
export default worker;
|
||||
Reference in New Issue
Block a user