perf(web): keep lazy-only services and SafePipe out of main.js

The eager shell imported barrels that re-export Angular injectables and a
pipe it never uses, and their static definitions keep those modules in
main.js: PlaylistFileImportService came with PlaylistContextFacade,
normalizeDateLocale with SafePipe, and the workspace-shell-util barrel with
SettingsContextService, which #1714 grew with match counts. That growth put
master 108 bytes over the renderer.initialBytes baseline #1712 had measured
on a branch without #1714.

Add file-level entries for the three modules and use them from the eager
and settings code: renderer.initialBytes 1,626,127 -> 1,619,993 bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4grayandClaude Opus 5.5 committed 2026-09-27 11:17:43 +02:00
1 parent 254d1fd922
commit 3aa036d460
12 files changed
+40 -16

No files matched your search

+9
View File
@@ -43,6 +43,9 @@
"@iptvnator/playlist/shared/util": [
"libs/playlist/shared/util/src/index.ts"
],
"@iptvnator/playlist/shared/util/playlist-file-import": [
"libs/playlist/shared/util/src/lib/playlist-file-import.service.ts"
],
"@iptvnator/ui/epg": ["libs/ui/epg/src/index.ts"],
"@iptvnator/ui/epg/date": ["libs/ui/epg/src/lib/epg-date.ts"],
"@iptvnator/ui/epg/progress-panel": [
@@ -79,10 +82,16 @@
"@iptvnator/workspace/shell/util": [
"libs/workspace/shell/util/src/index.ts"
],
"@iptvnator/workspace/shell/util/settings-context": [
"libs/workspace/shell/util/src/lib/settings-context.service.ts"
],
"@iptvnator/workspace/shell/util/settings-search": [
"libs/workspace/shell/util/src/lib/settings-search/index.ts"
],
"@iptvnator/pipes": ["libs/ui/pipes/src/index.ts"],
"@iptvnator/pipes/date-format": [
"libs/ui/pipes/src/lib/date-format.util.ts"
],
"@iptvnator/ui/components": ["libs/ui/components/src/index.ts"],
"@iptvnator/ui/components/confirm-dialog": [
"libs/ui/components/src/lib/confirm-dialog/dialog.service.ts"