REPL: cannot specify rhino as a target
- Dominant language
- TypeScript
- Stars
- 777
- Forks
- 1.4k
- Avg merge
- 16h 45m
- Merged PRs (30d)
- 3
Description
Am trying to use https://babeljs.io/repl to compile some javascript for the rhino target, but no matter how I try to specify the target, I keep getting an error message like `BABEL] /repl.js: Unknown browser query `*****`. Maybe you are using old Browserslist or made typo in query. (While processing: "base$0")`
Tried:
- `rhino`
- `rhino 1.7.14`
- `{rhino: '1.7.14'}`
- `{"rhino": "1.7.14"}`
- etc
But always the same error message.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure in the Babel REPL at babeljs.io/repl with the listed Rhino target forms, then trace how the REPL passes targets to Browserslist. Done means Rhino target input is handled without the reported unknown-browser-query error, with the resulting compilation behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100