Fix Netlify build by restoring dist build script and config

- Restore `scripts/build-dist.mjs` to clean `dist/`, build CSS, and copy assets.
- Update `package.json` to use the new build script and serve `dist`.
- Update `netlify.toml` to publish the `dist` directory.
- Update `dist/` artifacts to match current source.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-01 13:30:49 +00:00
1 parent a432d3d4c0
commit c862cbc358
72 files changed
+1555 -5883

No files matched your search

-9
View File
@@ -985,15 +985,6 @@ export class SimilarContentCard {
avatarImg.decoding = "async";
avatarImg.loading = "lazy";
avatarImg.alt = "";
if (!avatarImg.dataset.avatarFallbackBound) {
avatarImg.addEventListener("error", () => {
if (avatarImg.getAttribute("src") !== DEFAULT_PROFILE_AVATAR) {
avatarImg.src = DEFAULT_PROFILE_AVATAR;
}
avatarImg.dataset.avatarLoadFailed = "true";
});
avatarImg.dataset.avatarFallbackBound = "true";
}
avatarWrapper.appendChild(avatarImg);
// Append avatar then text