Ensure node -r reify works
Open
- Dominant language
- JavaScript
- Stars
- 740
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
With Node 9's WIP ESM PR at [nodejs/node/pull/14369](http://bit.ly/2ud5GcV) it will use `Module.runMain` to load `.mjs` files as esm when using `node -r reify foo.mjs`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin with Node's Module.runMain behavior in the linked Node ESM PR and reify's handling of .mjs files. Reproduce the node -r reify foo.mjs path, then verify it loads as ESM under Node 9; done means preloading works without breaking reify's existing module behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100