kriasoft / kriasoft/babel-starter-kit

`package.json` has wrong path for `index.js` at `main`

Open
#99 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
544
Forks
119
PR merge metrics
No merged PRs in 30d

Description

The template for package.json defines main as index.js, when there's no index.js file on the root of the project. It's either on src/ or dist/.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37967673-package-json-has-wrong-path-for-index-js-at-main?utm_campaign=plugin&utm_content=tracker%2F18782092&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18782092&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open package.json and inspect the main field, then compare its index.js path with the available entry files under src/ and dist/. Confirm which existing entry point the package template is intended to expose; done means main points to that file and no longer references a nonexistent root-level index.js.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.