forked from mtvpls/MoonTVPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopen-next.config.ts
More file actions
53 lines (51 loc) · 1.03 KB
/
open-next.config.ts
File metadata and controls
53 lines (51 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import type { OpenNextConfig } from '@opennextjs/cloudflare';
const config: OpenNextConfig = {
default: {
override: {
wrapper: 'cloudflare-node',
converter: 'edge',
proxyExternalRequest: 'fetch',
incrementalCache: 'dummy',
tagCache: 'dummy',
queue: 'dummy',
},
},
edgeExternals: [
'node:crypto',
'node:async_hooks',
'node:buffer',
'node:stream',
'node:util',
'node:events',
'node:path',
'node:url',
'node:fs',
'node:http',
'node:https',
'node:net',
'node:tls',
'node:dns',
'node:os',
'node:zlib',
'node:vm',
'node:child_process',
'node:string_decoder',
'node:tty',
'node:assert',
'node:punycode',
'node:timers',
'node:worker_threads',
],
middleware: {
external: true,
override: {
wrapper: 'cloudflare-edge',
converter: 'edge',
proxyExternalRequest: 'fetch',
incrementalCache: 'dummy',
tagCache: 'dummy',
queue: 'dummy',
},
},
};
export default config;