mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 06:16:05 +02:00
worker inline
This commit is contained in:
@@ -9,7 +9,7 @@ const mocks = vi.hoisted(() => ({
|
||||
userStore: null
|
||||
}));
|
||||
|
||||
vi.mock('../quickSearchWorker.js?worker', () => ({
|
||||
vi.mock('../quickSearchWorker.js?worker&inline', () => ({
|
||||
default: class MockSearchWorker {
|
||||
constructor() {
|
||||
this.onmessage = null;
|
||||
|
||||
@@ -8,7 +8,7 @@ import { showWorldDialog } from '../coordinators/worldCoordinator';
|
||||
import { showAvatarDialog } from '../coordinators/avatarCoordinator';
|
||||
import { showUserDialog } from '../coordinators/userCoordinator';
|
||||
|
||||
import QuickSearchWorker from './quickSearchWorker.js?worker';
|
||||
import QuickSearchWorker from './quickSearchWorker.js?worker&inline';
|
||||
|
||||
export const useQuickSearchStore = defineStore('QuickSearch', () => {
|
||||
const friendStore = useFriendStore();
|
||||
|
||||
@@ -265,7 +265,7 @@
|
||||
import Sigma from 'sigma';
|
||||
import louvain from 'graphology-communities-louvain';
|
||||
|
||||
import GraphLayoutWorker from '../graphLayoutWorker.js?worker';
|
||||
import GraphLayoutWorker from '../graphLayoutWorker.js?worker&inline';
|
||||
|
||||
import {
|
||||
useAppearanceSettingsStore,
|
||||
|
||||
Reference in New Issue
Block a user