-
build: fix electron desktop build config for v1.0.1
发布于
2026-04-14 18:45:58 +00:00 | 232 次提交 在此版本后已推送到 main- Rename vite.config.js to vite.config.mjs so ESM-only @tailwindcss/vite
loads correctly (CJS require() can't import ESM modules) - Remove tailwindcss from postcss.config.js — handled by @tailwindcss/vite
in Tailwind v4; the v3 PostCSS plugin conflicts with v4 CSS syntax - Add "main": "electron/main.js" to package.json so electron-builder
finds the entry point instead of defaulting to index.js - Bump version to 1.0.1
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
下载附件
- Rename vite.config.js to vite.config.mjs so ESM-only @tailwindcss/vite