Unfortunately in order to support WASM compilation the core compiler needs to be a separate package to the command line interface (as that doesn't compile for wasm).