Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"*.d.ts"
],
"dependencies": {
"esbuild": "0.15.1"
"esbuild": "0.25.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumping esbuild to 0.25.0 is not safe with the current @flatbread/config implementation. packages/config/src/load.ts still calls build({ ..., watch: true }), and with esbuild@0.25.0 that now throws Invalid option in build() call: "watch" instead of bundling the config file.

I verified that locally against the bumped dependency, so any loadConfig() path now fails at runtime. Please either keep esbuild on a version that still supports watch on build() or migrate this loader to the newer context(...).watch() API (or drop watch here if it is unnecessary), and add a focused regression test around config loading so this kind of API break is caught automatically.

},
"devDependencies": {
"@flatbread/core": "workspace:*",
Expand Down
Loading
Loading