Support ESM in Snaps execution environment
Open
snaps-unrefined-backlog
- Dominant language
- TypeScript
- Stars
- 853
- Forks
- 662
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 8
Description
Currently we only support the CJS syntax in the Snaps execution environment. We should investigate supporting ESM as well. This would include:
- Support for ESM in the execution environment.
- Bundle Snaps as ESM using CLI.
- Updating other parts of the codebase to support ESM.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by locating the Snaps execution environment and the CLI bundling flow, then trace the other code paths that assume CommonJS. Done means ESM works in the execution environment, the CLI bundles Snaps as ESM, and the affected codebase areas support it consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100