Skip to content

Commit b2dfdaa

Browse files
author
Hanzo Dev
committed
fix: Patch @hanzo/ui dist to remove missing dependencies
- Create patch-dist.js to stub out missing imports at build time - Remove dependencies on @hanzo_network/hanzo-i18n, tauri plugins, filesize - Run patch automatically on postinstall and before build - Fixes deployment build failures
1 parent fd580c8 commit b2dfdaa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"scripts": {
77
"dev": "next dev --turbopack",
88
"dev:webpack": "next dev",
9-
"build": "next build",
9+
"postinstall": "node scripts/patch-dist.js || true",
10+
"build": "node scripts/patch-dist.js && next build",
1011
"start": "next start",
1112
"lint": "next lint",
1213
"test": "jest",

0 commit comments

Comments
 (0)