archiveweb.page
archiveweb.page copied to clipboard
[Devex]: Asset Referencing Cleanup
Left over task from #227 that can be finished now that the app is converted to TypeScript!
from that PR:
- Does not use the TsconfigPathsPlugin plugin for assets referenced with
~assetslike Browsertrix and ReplayWeb.page (because obviously this isn't TypeScript yet!) Would be a nice thing to clean up with the TypeScript conversion later to have the same conventions across all our projects.- The main app logo is currently composed of the graphic component returned by ReplayWeb.page which is then assigned a different variable in ArchiveWeb.page with
get mainLogo. The text is then appended by ArchiveWeb.page.
- Because the text and icon are now located in the same file for both apps, this behavior is worth cleaning up once both are up to date and using TypeScript. For now, this returns nothing as the
mainLogovalue and appends the whole new logo lockup instead of just the text.- See https://github.com/webrecorder/replayweb.page/blob/main/src/appmain.ts#L298 for context and details in ReplayWeb.page.