HSLdevcom / HSLdevcom/digitransit-ui

find workaround for the missing iconstats files

Open
#4,639 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
267
Forks
145
Avg merge
1d 15h
Merged PRs (30d)
75

Description

Follow-up of #4607.

Due to the Webpack + plugins upgrade in #4607, I had to remove the iconstats-*.json files because favicon-webpack-plugin@5 doesn't support it anymore. These stats are being used in app/config.js:

https://github.com/HSLdevcom/digitransit-ui/blob/0f679abad77c65fa57b7b09b37cbe7ccbe560892/app/config.js#L19

Contributor guide

No contributing guide indexed for this repository

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 reviewing follow-up issue #4607 and the referenced app/config.js entry around line 19, then inspect how the Webpack upgrade and favicon-webpack-plugin@5 affect the iconstats-*.json files. Done means app/config.js can again obtain the required icon statistics without relying on unsupported files.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.