File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
## Install
15
15
16
- - ` npx create-next-app@latest <app-name> --use-npm ` (use npm to avoid symlinks)
16
+ - ` npx create-next-app@latest <app-name> `
17
17
18
18
- add the following devDependency to the package.json:
19
19
30
30
31
31
compatibility_date = " 2024-08-29"
32
32
compatibility_flags = [" nodejs_compat_v2" ]
33
- workers_dev = true
34
- minify = false
35
33
36
34
# Use the new Workers + Assets to host the static frontend files
37
35
experimental_assets = { directory = " .worker-next/assets" , binding = " ASSETS" }
Original file line number Diff line number Diff line change @@ -3,7 +3,5 @@ name = "api"
3
3
main = " .worker-next/index.mjs"
4
4
compatibility_date = " 2024-09-16"
5
5
compatibility_flags = [" nodejs_compat_v2" ]
6
- workers_dev = true
7
- minify = false # let's disable minification for easier debuggability
8
6
9
7
experimental_assets = { directory = " .worker-next/assets" , binding = " ASSETS" }
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ main = ".worker-next/index.mjs"
4
4
5
5
compatibility_date = " 2024-08-29"
6
6
compatibility_flags = [" nodejs_compat_v2" ]
7
- workers_dev = true
8
- minify = false
9
7
10
8
# Use the new Workers + Assets to host the static frontend files
11
9
experimental_assets = { directory = " .worker-next/assets" , binding = " ASSETS" }
You can’t perform that action at this time.
0 commit comments