Skip to content

Commit

Permalink
fix e2e tests on the api fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Sep 12, 2024
1 parent 5866969 commit 01565e0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules

output
.worker-next
.save.next
dist
2 changes: 1 addition & 1 deletion builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"build": "tsup",
"build:watch": "tsup --watch src"
},
"bin": "dist/index.js",
"bin": "dist/index.mjs",
"files": [
"dist"
],
Expand Down
5 changes: 3 additions & 2 deletions next/api/wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#:schema node_modules/wrangler/config-schema.json
name = "api"
main = ".worker-next/index.mjs"
assets = ".worker-next/assets"
compatibility_date = "2024-08-29"
compatibility_flags = ["nodejs_compat_v2"]
workers_dev = true
minify = false # let's disable minification for easier debuggability
minify = false # let's disable minification for easier debuggability

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

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

0 comments on commit 01565e0

Please sign in to comment.