You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the path to the Buttplug JS files is fixed, so if loading the library outside of the normal browser environment (user-scripts, etc) or you want to explicitly load the JS files from your own server (without using webpack, etc), you're going to struggle.
Commit fe66645 tried to achieve this, but actually prevented the fixed location loading from working as well as not actually working for explicit paths due to a mixed content issue (see #88 and #90)
I believe, but could be wrong, that in order for the WASM and supporting JS to be loaded, they need to be isolated from each other (no internal imports of the WASM from JS) so that the browser can perform a module import of the WASM and a separate load of the JS, otherwise the the fetch of one results in MIME type errors when the JS pulls in the WASM or vice versa.
The text was updated successfully, but these errors were encountered:
Feature Description
Right now, the path to the Buttplug JS files is fixed, so if loading the library outside of the normal browser environment (user-scripts, etc) or you want to explicitly load the JS files from your own server (without using webpack, etc), you're going to struggle.
Commit fe66645 tried to achieve this, but actually prevented the fixed location loading from working as well as not actually working for explicit paths due to a mixed content issue (see #88 and #90)
I believe, but could be wrong, that in order for the WASM and supporting JS to be loaded, they need to be isolated from each other (no internal imports of the WASM from JS) so that the browser can perform a module import of the WASM and a separate load of the JS, otherwise the the fetch of one results in MIME type errors when the JS pulls in the WASM or vice versa.
The text was updated successfully, but these errors were encountered: