I'm trying to import a module within the monaco editor, but it shows as Cannot find module './level/lib.game'.
How can I register said file (lib.game.ts) so the import is resolved within the monaco editor?
Update: Setting moduleResolution in the compilerOptions to ModuleResolutionKind.NodeJs makes the error go away, but the module still cannot be resolved.