mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 01:07:01 +08:00
This is a reland of commit fcb4df4e8b
ESBuild stumbled over the import(`../../${modulePath}`); in
Runtime.js. It considers this a "glob" import and attempts to bundle
ALL DevTools file (since the import could load anything).
There is no config option to disable this so the solution is to break
the esbuild heuristic that detects this.
See https://esbuild.github.io/api/#glob for more info.
Original change's description:
> [deps] Update esbuild to 0.24.0
>
> R=jacktfranklin@chromium.org
>
> Bug: None
> Change-Id: I587b974f2ff787fa2c0560863d702140f2eff9e2
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5953149
> Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
> Commit-Queue: Simon Zünd <szuend@chromium.org>
Bug: None
Change-Id: If10a918a0f5075916493c3fa5797212ffb1ee9ba
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5952982
Commit-Queue: Simon Zünd <szuend@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Auto-Submit: Simon Zünd <szuend@chromium.org>
esbuild
This is a JavaScript bundler and minifier. See https://github.com/evanw/esbuild and the JavaScript API documentation for details.