bem / bem/bem-sdk

bem-config: how to put config inside different directory?

Open
#203 1 comment 0 reactions 0 assignees View on GitHub
pkg:config status:evaluating
Dominant language
JavaScript
Stars
89
Forks
24
PR merge metrics
No merged PRs in 30d

Description

To achieve this task I provide param `pathToConfig` to BemConfig()
but now levels are resolved relative to `dirname(pathToConfig)`

so then I tried to provide `cwd` still levels resolves same

Contributor guide

Open the contributing guide

Research direction

Start by tracing BemConfig handling of the pathToConfig and cwd parameters, then inspect how levels are resolved relative to the configuration directory. Done means a configuration can be placed in a different directory and its levels resolve from the intended location rather than always from dirname(pathToConfig).

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.