mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-14 14:50:03 -04:00
use snapshot SharedWorker
This commit is contained in:
parent
01d44130cc
commit
229695d13c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const commonPlugins = () => [
|
||||||
typescript(),
|
typescript(),
|
||||||
inject(
|
inject(
|
||||||
Object.fromEntries(
|
Object.fromEntries(
|
||||||
['fetch', 'Request', 'Response', 'WebSocket', 'XMLHttpRequest'].map(
|
['fetch', 'Request', 'Response', 'WebSocket', 'XMLHttpRequest', 'SharedWorker'].map(
|
||||||
(name) => [
|
(name) => [
|
||||||
name,
|
name,
|
||||||
[fileURLToPath(new URL('./src/snapshot.ts', import.meta.url)), name],
|
[fileURLToPath(new URL('./src/snapshot.ts', import.meta.url)), name],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue