mapbox / mapbox/mr-ui

Configure npm build to reference absolute paths

Open
#198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
90
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Running `npm deploy-docs` is otherwise broken and requires manually rewriting it 🙃 https://github.com/mapbox/mr-ui/commit/2c6250712bd4ea4f17d453c3c1988a32254ddf7e

I'm sure there's a configuration step in https://www.npmjs.com/package/react-app-rewired to do that.

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

Start by running `npm deploy-docs` and inspect the react-app-rewired configuration used by the build. Compare its behavior with the referenced commit, then verify that the command works without manually rewriting paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
build-system, frontend, 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.