Skip to content

Commit

Permalink
Upgrade esbuild from 0.17 to 0.23 (#29445)
Browse files Browse the repository at this point in the history
Upgrade esbuild from 0.17 to 0.23.

GitOrigin-RevId: 710c5b24dae0165934f9a7dcefbc14600c6b7c2b
  • Loading branch information
thomasballinger authored and Convex, Inc. committed Sep 2, 2024
1 parent e5aff06 commit e3c4f00
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

## Unpublished

- Upgrade esbuild from 0.17 to 0.23. It's possible to use an npm override to use
a different version of esbuild if you need to stay on an older version,
although changes to the esbuild API could break this in the future.

See
[esbuild changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
for the full list of changes. One standout: tsconfig.json is no longer used by
esbuild for `jsx` setting. Convex now sets it manually to
["automatic"](https://esbuild.github.io/api/#jsx).

## 1.15.0

- Added new command, `npx convex function-spec`, that exposes the function
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"CLI tool dependencies are listed in devDependencies instead."
],
"dependencies": {
"esbuild": "^0.17.5",
"esbuild": "0.23.0",
"jwt-decode": "^3.1.2",
"prettier": "3.2.5"
},
Expand Down Expand Up @@ -224,7 +224,7 @@
"dprint": "0.46.1",
"encoding": "^0.1.13",
"envfile": "6.18.0",
"esbuild": "^0.17.5",
"esbuild": "0.23.0",
"esbuild-plugin-external-global": "~1.0.1",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
Expand Down
1 change: 1 addition & 0 deletions src/bundler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ async function doEsbuild(
platform: platform,
format: "esm",
target: "esnext",
jsx: "automatic",
outdir: "out",
outbase: dir,
conditions: ["convex", "module"],
Expand Down

0 comments on commit e3c4f00

Please sign in to comment.