Skip to content

Conversation

@BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Nov 14, 2025

Motivation

The webpack configuration for the devtools extension is rather tedious to maintain. WXT offers a better DX out of the box, with a single dependency.

We tried going with a basic Vite config file, but it was proven too cumbersome because of the need to use one config per entry point.

Changes

Replace webpack with WXT

Test instructions

In the extension folder, run yarn dev to open a browser with the extension installed.
You can also run yarn build to build it.

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.

@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/migrate-devext-to-wxt branch from b375739 to 8ec48a9 Compare November 14, 2025 15:00
@cit-pr-commenter
Copy link

cit-pr-commenter bot commented Nov 14, 2025

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 164.56 KiB 164.56 KiB 0 B 0.00%
Rum Profiler 4.84 KiB 4.84 KiB 0 B 0.00%
Rum Recorder 19.50 KiB 19.50 KiB 0 B 0.00%
Logs 56.41 KiB 56.41 KiB 0 B 0.00%
Flagging 944 B 944 B 0 B 0.00%
Rum Slim 121.88 KiB 121.88 KiB 0 B 0.00%
Worker 23.63 KiB 23.63 KiB 0 B 0.00%
🚀 CPU Performance
Action Name Base CPU Time (ms) Local CPU Time (ms) 𝚫%
RUM - add global context 0.0043 0.0048 +11.63%
RUM - add action 0.0123 0.0136 +10.57%
RUM - add error 0.012 0.0149 +24.17%
RUM - add timing 0.0027 0.0045 +66.67%
RUM - start view 0.0032 0.0053 +65.62%
RUM - start/stop session replay recording 0.0008 0.0008 0.00%
Logs - log message 0.0133 0.0152 +14.29%
🧠 Memory Performance
Action Name Base Memory Consumption Local Memory Consumption 𝚫
RUM - add global context 25.12 KiB 26.18 KiB +1.05 KiB
RUM - add action 47.01 KiB 112.35 KiB +65.34 KiB
RUM - add timing 25.07 KiB 24.30 KiB -788 B
RUM - add error 53.71 KiB 115.48 KiB +61.77 KiB
RUM - start/stop session replay recording 24.86 KiB 24.15 KiB -729 B
RUM - start view 429.93 KiB 482.40 KiB +52.47 KiB
Logs - log message 42.69 KiB 43.52 KiB +845 B

🔗 RealWorld

@datadog-official
Copy link

datadog-official bot commented Nov 14, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 92.66% (+0.01%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 2d15023 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/migrate-devext-to-wxt branch 4 times, most recently from f9e1b58 to 749be31 Compare November 14, 2025 15:57
@BenoitZugmeyer BenoitZugmeyer marked this pull request as ready for review November 14, 2025 16:03
@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner November 14, 2025 16:03
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/migrate-devext-to-wxt branch from 749be31 to 2d15023 Compare November 14, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants