fix: worker_thread warning (#1179)

* fix: worker_thread warning

* Create fast-chefs-smell.md

* Apply formatting changes

* Update fast-chefs-smell.md
This commit is contained in:
fukang wang
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 18d7456ed7
commit fcac68383c
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'rrweb': patch
---
Fix: [#1178](https://github.com/rrweb-io/rrweb/issues/1178) remove warning related to worker_threads while building

View File

@@ -144,7 +144,7 @@ for (const c of baseConfigs) {
resolve({ browser: true }),
// supports bundling `web-worker:..filename`
webWorkerLoader(),
webWorkerLoader({ targetPlatform: 'browser' }),
typescript(),
];