Skip to content

Commit 88fe982

Browse files
authored
minor cleanup (#17)
1 parent fd3c2b9 commit 88fe982

File tree

4 files changed

+37
-89
lines changed

4 files changed

+37
-89
lines changed

TODO.md

Lines changed: 0 additions & 85 deletions
This file was deleted.

builder/TODO.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Builder
2+
3+
## TODO
4+
5+
- move the wrangler.toml to the templates
6+
7+
DONE:
8+
9+
- wrangler alias
10+
- figure out the assets
11+
- copy the template folders
12+
13+
## Open next [example app](https://github.com/sst/open-next/tree/main/example)
14+
15+
Changes:
16+
17+
- App: Update package.json
18+
19+
```text
20+
"scripts": {
21+
"dev": "next dev",
22+
...
23+
},
24+
"dependencies": {
25+
"next": "^14.2.11",
26+
"next-auth": "latest",
27+
...
28+
},
29+
"devDependencies": {
30+
"wrangler": "^3.78.6"
31+
...
32+
}
33+
```
34+
35+
- Build the app
36+
37+
- Serve with `WRANGLER_BUILD_CONDITIONS="" WRANGLER_BUILD_PLATFORM="node" pnpm wrangler dev`

examples/api/wrangler.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ name = "api"
33
main = ".worker-next/index.mjs"
44
compatibility_date = "2024-09-16"
55
compatibility_flags = ["nodejs_compat_v2"]
6-
workers_dev = true
7-
minify = false # let's disable minification for easier debuggability
86

97
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }

examples/create-next-app/wrangler.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ main = ".worker-next/index.mjs"
44

55
compatibility_date = "2024-08-29"
66
compatibility_flags = ["nodejs_compat_v2"]
7-
workers_dev = true
8-
minify = false
97

108
# Use the new Workers + Assets to host the static frontend files
119
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }

0 commit comments

Comments
 (0)