Skip to content

Commit 01565e0

Browse files
fix e2e tests on the api fixture
1 parent 5866969 commit 01565e0

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ node_modules
33

44
output
55
.worker-next
6+
.save.next
67
dist

builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"build": "tsup",
55
"build:watch": "tsup --watch src"
66
},
7-
"bin": "dist/index.js",
7+
"bin": "dist/index.mjs",
88
"files": [
99
"dist"
1010
],

next/api/wrangler.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#:schema node_modules/wrangler/config-schema.json
22
name = "api"
33
main = ".worker-next/index.mjs"
4-
assets = ".worker-next/assets"
54
compatibility_date = "2024-08-29"
65
compatibility_flags = ["nodejs_compat_v2"]
76
workers_dev = true
8-
minify = false # let's disable minification for easier debuggability
7+
minify = false # let's disable minification for easier debuggability
8+
9+
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }
910

1011
# The aliases below should not be needed (we don't want users to have to define the aliases themselves)
1112
[alias]

0 commit comments

Comments
 (0)