fix: address code review comments

- vite.config.ts: fix __dirname for ESM, add 1MB payload limit + JSON validation
- MapViewer.tsx: remove broken window.isTransforming checks, fix callback order
- EditorPage.tsx: derive undoCount from historyManager in handleTransformEnd
- package.json: support Node 20 or 22 in engines
This commit is contained in:
math-pixel
2026-04-27 14:21:50 +02:00
parent 3254291ba7
commit 2001955625
4 changed files with 49 additions and 25 deletions
+1 -1
View File
@@ -44,6 +44,6 @@
"vite": "^8.0.4"
},
"engines": {
"node": ">=22.12.0"
"node": ">=20.19.0 || >=22.12.0"
}
}