Merge pull request #8 from awkj/main

Update package.json
This commit is contained in:
草鞋没号 2022-02-01 08:41:21 +08:00 committed by GitHub
commit 0fe3bdf292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 353 additions and 2127 deletions

2477
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,6 @@
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@vitejs/plugin-react": "^1.1.4",
"antd": "^4.18.5",
"electron": "16.0.8",
"electron-builder": "^22.14.5",
"react": "^17.0.2",

View File

@ -3,10 +3,8 @@ process.env.NODE_ENV = 'production'
import { dirname, join } from 'path'
import { fileURLToPath } from 'url'
import { build } from 'vite'
import chalk from 'chalk'
const __dirname = dirname(fileURLToPath(import.meta.url))
const TAG = chalk.bgBlue(' build.mjs ')
/**
* @type {Record<string, import('vite').InlineConfig>}