f5d569040182e129aa3d94cf4ff8157b29d7aa40
The fix-imports.mjs script blindly appended '.js' to every @/ alias
import, even when the source specifier already carried a .js
extension (e.g. '@/shared/config/index.js'). This produced
'index.js.js' in the emitted dist/, causing ERR_MODULE_NOT_FOUND
at startup.
This was latent: only triggered once digestScheduler.ts (which
uses @/shared/config/index.js with explicit extension) was built.
The user-reputation removal (2a8f6d9) was also blocked by this
bug — stale binary kept crashing with 'user_reputations' query
errors because it was never redeployed.
Fix: only append .js when the @/ specifier has no existing
extension. Applied to both gateway and backend scripts.
Description
Bete Discord moderation watcher
26 MiB
Languages
TypeScript
96.9%
Nix
0.9%
Shell
0.8%
CSS
0.6%
PLpgSQL
0.5%
Other
0.3%