BUG: JS compilation system has broken hack
- Dominant language
- Python
- Stars
- 16
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
```
nodejs.py
82 if 'es5' in out:
83 # TODO XXX obviously broken hack: Must fix by adding the
84 # "configure" step mechanism, that gets the absolute path to
85 # whichever programs/libs/whatever are necessary, and also what is
86 # supported
87 es2015_path = os.path.expanduser('~/.local/lib/node_modules'
88 '/babel-preset-es2015')
89 extra_args.extend(['--presets=%s' % es2015_path])
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the JavaScript compilation logic in nodejs.py around lines 82-89, including how the Babel preset path is currently assembled. Determine the configure-step mechanism described in the issue and define completion as removing the hard-coded ~/.local/lib/node_modules/babel-preset-es2015 dependency while locating required programs, libraries, and supported options through configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100