eugeneware / eugeneware/bower-resolve

Bad resolve where main section in module's bower.json is array

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21
Forks
11
PR merge metrics
No merged PRs in 30d

Description

In getModulePath function, relFilePath is set to thisModuleName + extension. If in main section of bower.json array is declared and main files are not having 'extension', it is incorrectly set to module + extension.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the getModulePath function and inspect how it handles the main section of bower.json when that section is an array. Reproduce the case with main files that omit the extension. Done means resolving the correct main file path without incorrectly appending the module extension.

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.