Finally managed to get the wasm module loaded and executing using some webpack witchcraft. Still need to actually implement the plugin action.