jaredpalmer / jaredpalmer/backpack

Add option to specify config path

Open
#104 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.4k
Forks
164
PR merge metrics
No merged PRs in 30d

Description

As far as I can tell, backpack currently requires the config file to be at the project root and named ```backpack.config.js```, with no way of changing this. It'd be nice to be able to pass the path to the config file when invoking backpack, similarly to how webpack handles it.

Something along the lines of this: ```backpack --config /path/to/config.js```

Contributor guide

Open the contributing guide

Research direction

Start at the backpack command-line entry point and trace how it locates backpack.config.js. Check the existing command help and configuration-loading behavior, then verify that a --config path is accepted and that the specified file is used instead of the project-root default.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.