fix(scripts): correct import extension in optimizeStagedSvgs.mts (#4185)

The import references `processSvg.mjs` but the file is
`processSvg.mts`. This was missed in 4dda4324 when the
lint-staged config was updated to call `.mts` files directly.

The broken import causes the pre-commit hook to fail for any
commit that includes SVG changes, blocking external contributors
from committing locally.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeremy Venegas
2026-03-24 09:08:14 +01:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 4880a2673b
commit ffff78a02f
+1 -1
View File
@@ -1,5 +1,5 @@
import fs from 'fs';
import processSvg from './render/processSvg.mjs';
import processSvg from './render/processSvg.mts';
const svgFiles = process.argv.slice(2);