cjs runner is exported from index.mjs instead of esm runner
:dart: Relevant issues
:gem: Type of change
[x] Bug fix (non-breaking change which fixes an issue)
:scroll: Example code
import {Runner} from 'moleculer'
//can use runner with native esm
const runner = new Runner();
runner.start(["--env","--hot","--repl","--config","service/moleculer.config.ts","service/**.service.ts"])
## :vertical_traffic_light: How Has This Been Tested?
Created a sample service schema and from the main mjs file created a new runner and tested manually.
## :checkered_flag: Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] **I have added tests that prove my fix is effective or that my feature works**
- [x] **New and existing unit tests pass locally with my changes**
- [ ] I have commented my code, particularly in hard-to-understand areas
:memo: Description
cjs runner
is exported fromindex.mjs
instead ofesm runner
:dart: Relevant issues
:gem: Type of change
:scroll: Example code
//can use runner with native esm const runner = new Runner(); runner.start(["--env","--hot","--repl","--config","service/moleculer.config.ts","service/**.service.ts"])