Does not provide an export named 'default'
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 119
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Running this with browserify with the following syntax gives the above error:
browserify --entry ./src/main/index.js --standalone bundlename --outfile ./dist/js/bundlename.js -p esmify
Contributor guide
No contributing guide indexed for this repository
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
Start by reproducing the reported command with browserify and the esmify plugin, then trace how esmify handles the entry file's exports. The issue is done when the same command no longer reports that no default export is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100