mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-04 11:12:14 +08:00
Delete cloudflare-preset/nitro.config.ts
This commit is contained in:
parent
37e0bc1a04
commit
e19dd5c6d0
@ -1,27 +0,0 @@
|
|||||||
import { type NitroPreset } from "nitropack";
|
|
||||||
|
|
||||||
export default <NitroPreset>{
|
|
||||||
extends: "cloudflare",
|
|
||||||
exportConditions: ["workerd"],
|
|
||||||
output: {
|
|
||||||
dir: "{{ rootDir }}/dist",
|
|
||||||
publicDir: "{{ output.dir }}/public",
|
|
||||||
serverDir: "{{ output.dir }}/worker",
|
|
||||||
},
|
|
||||||
commands: {
|
|
||||||
preview: "npx wrangler dev",
|
|
||||||
deploy: "npx wrangler deploy",
|
|
||||||
},
|
|
||||||
wasm: {
|
|
||||||
lazy: false,
|
|
||||||
esmImport: true,
|
|
||||||
},
|
|
||||||
rollupConfig: {
|
|
||||||
output: {
|
|
||||||
entryFileNames: "index.js",
|
|
||||||
format: "esm",
|
|
||||||
exports: "named",
|
|
||||||
inlineDynamicImports: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user