Skip to content

chore: remove dead code, unused deps and unreferenced assets - #8

Merged
samuelsonbrito merged 1 commit into
mainfrom
chore/cleanup-unused-code
Jul 25, 2026
Merged

chore: remove dead code, unused deps and unreferenced assets#8
samuelsonbrito merged 1 commit into
mainfrom
chore/cleanup-unused-code

Conversation

@samuelsonbrito

Copy link
Copy Markdown
Contributor
  • Strip AppComponent of unused standalone-component imports and a duplicate dark/light theme implementation that never ran (its target elements only exist inside ButtonToggleDarkLightComponent, which already handles the toggle).
  • Drop FormsModule, angular-font-awesome and @fortawesome/angular-fontawesome imports: no template in the app uses ngModel/formControl or .
  • Remove now-unused dependencies (express, angular-font-awesome, @fortawesome/angular-fontawesome, @angular/forms, @angular/platform-browser-dynamic) and sync package-lock.json.
  • Delete serve-node.js, the orphaned local Express server superseded by the GitHub Pages Actions deploy.
  • Delete 14 assets (images/fonts/license files) with zero references in the codebase.
  • Clean deprecated purge key and dead commented-out config from tailwind.config.js.

Verified with a clean ng build: no more NG8113 unused-import warnings, no Tailwind config warning, initial bundle down from 507.41 kB to 414.96 kB (back under the 500 kB budget).

- Strip AppComponent of unused standalone-component imports and a
  duplicate dark/light theme implementation that never ran (its
  target elements only exist inside ButtonToggleDarkLightComponent,
  which already handles the toggle).
- Drop FormsModule, angular-font-awesome and
  @fortawesome/angular-fontawesome imports: no template in the app
  uses ngModel/formControl or <fa-icon>.
- Remove now-unused dependencies (express, angular-font-awesome,
  @fortawesome/angular-fontawesome, @angular/forms,
  @angular/platform-browser-dynamic) and sync package-lock.json.
- Delete serve-node.js, the orphaned local Express server superseded
  by the GitHub Pages Actions deploy.
- Delete 14 assets (images/fonts/license files) with zero references
  in the codebase.
- Clean deprecated `purge` key and dead commented-out config from
  tailwind.config.js.

Verified with a clean `ng build`: no more NG8113 unused-import
warnings, no Tailwind config warning, initial bundle down from
507.41 kB to 414.96 kB (back under the 500 kB budget).
@samuelsonbrito
samuelsonbrito merged commit 131f329 into main Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant