mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 17:57:36 +08:00
Port formatter_worker to use devtools_entrypoint, which is the abstraction around `rollup`. It handles the creation of the rollup bundle, but leaves it alone if you are building with `is_debug=true`. This way, we can keep development use the existing workflow where individual files are fetched, while in release mode we bundle the entrypoint into 1 big file. In the future, anything we consider an entrypoint must use this method. This would include third_party packages like lit-html and CodeMirror. A follow-up CL will move the lit-html entrypoint back into third_party/lit-html, as we no longer require it to be a direct subfolder of `front_end/` (that was fixed in https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2270168) DISABLE_THIRD_PARTY_CHECK=TypeScript fixes R=aerotwist@chromium.org,jacktfranklin@chromium.org Bug: 1098730 Change-Id: I5d2e67cc9c71291e8b67bbc29354e75239aae9a9 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2267001 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>