Skip to content

Commit

Permalink
fix: fix error sourcemaps with wrangler (#2094)
Browse files Browse the repository at this point in the history
wrangler needs `no_bundle = true` or else its using its own bundling thing....
  • Loading branch information
hugomrdias authored Jul 28, 2022
1 parent a3ed46d commit ae799be
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 113 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"simple-git-hooks": "^2.3.1",
"typescript": "4.5.3",
"webpack": "^5.72.0",
"wrangler": "^2.0.6"
"wrangler": "^2.0.23"
},
"resolutions": {
"prettier": "2.5.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/api/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ workers_dev = true

# Compatibility flags https://github.com/cloudflare/wrangler/pull/2009
compatibility_date = "2021-08-23"
compatibility_flags = [ "formdata_parser_supports_files" ]
compatibility_flags = ["formdata_parser_supports_files"]
no_bundle = true

[vars]
ENV = "dev"
Expand Down
Loading

0 comments on commit ae799be

Please sign in to comment.