which blocks how troika-three-text creates its web worker. Or you may want to avoid using a worker for some other reason. You can force it to run on the main thread instead (although still asynchronously) by configuring it prior to creating any Text instances: ...
Configure troika-three-text to load from that server URL: Per Text instance: text.unicodeFontsURL ='https://my.host/unicode-fonts-data' Globally: import{configureTextBuilder}from'troika-three-text'configureTextBuilder({unicodeFontsURL:'https://my.host/unicode-fonts-data'}) ...
"preview":"vite preview" }, "dependencies": { "@three.ez/main":"^0.5.1", "three":"^0.162.0", "troika-three-text":"^0.48.0" }, "devDependencies": { "@types/three":"^0.162.0", "typescript":"^5.2.2", "vite":"^4.4.9" } }...