# Transpile against Debian's Rollup types, which differ from upstream's.
tsc --noCheck
# Node.js ESM needs extensions on the generated relative imports.
sed -i -E "/^import / s@(from '\./[^']+)(')@\1.js\2@g" dist/*.js dist/*.d.ts
