workbenchdev / workbenchdev/Workbench
Import ES module
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 844
- Forks
- 91
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 1
Description
Being sandboxed, there is no easy way to import an ES module.
import foo from 'file:///home/sonny/foo.js' won't work.
Maybe we can add a file picker and automatically add an import statement at the beginning of the file ? Or just give a path.
Importing a URL would be neat too
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, entry point, or test is named in the issue. Begin by locating the sandboxed ES-module import path and the interface that handles user input; compare the proposed file-picker, path, and URL options before choosing a workflow. Done should mean the selected workflow can import an ES module in the sandbox and is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100