gajus / gajus/create-index

There is no check if the imported file has a default.

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
277
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Create-index is pretty dumb actually, it would try to include a file as default only if it exists and validates some naming convention. It may eventually import as default a file without default.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the logic that generates the ES6 ./index.js file and handles default-file naming; inspect how imported modules are checked. Done means generated indexes do not treat a file as a default export unless it actually has one, with coverage for the case described.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.