These are changes required to ensure the latest code here works in the JupyterLite terminal. Changes are:
Override WASM locateFile to load WASM files from the same directory as their JS wrapper files.
Prebuilding the WebWorker bundle using rspack (webpack would also work).
Whilst doing item 1 I have also chosen to make the wasmBaseUrl option compulsory, as all existing uses set it anyway.
Item 2 is a temporary fix so that the WebWorker works OK in a JupyterLite deployment. It should, and eventually will, be in the terminal extension instead.
After this is merged I will release version 0.0.8 and make the corresponding changes in the terminal extension.
These are changes required to ensure the latest code here works in the JupyterLite terminal. Changes are:
locateFile
to load WASM files from the same directory as their JS wrapper files.rspack
(webpack
would also work).Whilst doing item 1 I have also chosen to make the
wasmBaseUrl
option compulsory, as all existing uses set it anyway.Item 2 is a temporary fix so that the WebWorker works OK in a JupyterLite deployment. It should, and eventually will, be in the terminal extension instead.
After this is merged I will release version 0.0.8 and make the corresponding changes in the terminal extension.