Switch to ESM for source and test, use CommonJS for dist

This commit is contained in:
Kevin Stillhammer 2026-03-14 14:11:59 +01:00
parent f9070de1ea
commit 27b24ababa
No known key found for this signature in database
23 changed files with 212259 additions and 231165 deletions

View file

@ -18,7 +18,7 @@ async function run(): Promise<void> {
const checksumFilePath = process.argv.slice(2)[0];
if (!checksumFilePath) {
throw new Error(
"Missing checksum file path. Usage: node dist/update-known-checksums/index.js <checksum-file-path>",
"Missing checksum file path. Usage: node dist/update-known-checksums/index.cjs <checksum-file-path>",
);
}