build(tiptap): run tsc --noEmit before vite build

This commit is contained in:
xfy 2026-06-23 18:45:17 +08:00
parent 6ffcd55c94
commit 939e0de171

View File

@ -4,7 +4,7 @@
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "vite build", "build": "tsc --noEmit && vite build",
"dev": "vite", "dev": "vite",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },