archethic-foundation / archethic-foundation/archethic-node

Clean static files

Open
#1,600 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Elixir
Stars
82
Forks
24
PR merge metrics
No merged PRs in 30d

Description

### Describe the problem you discovered

When we build static files such as JS/CSS they are prefixed with a hash.
Those files never get cleaned up. So they stay in the folder:
![Image](https://github.com/user-attachments/assets/d221b294-272e-4382-8d11-cb0d1ce9cf61)

And when we do a release, we find them again here.
![Image](https://github.com/user-attachments/assets/4054e622-5785-4c77-bb6e-e3518d15b1bf)

### Describe the solution you'd like

There should be a cleaning mechanism

### Epic

_No response_

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by locating the static-asset build and release entry points, then reproduce a build to see where hash-prefixed JS/CSS files accumulate. Done means obsolete generated files are removed by the cleaning mechanism and no longer appear in the release output.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.