chore: improve type

This commit is contained in:
草鞋没号 2021-12-08 18:48:30 +08:00
parent 92ca41296c
commit e29385be99
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ async function buildElectron() {
for (const [name, configPath] of Object.entries(viteConfigs)) {
console.group(TAG, name)
/**
* @type {import('vite').InlineConfig}
*/
const config = {
configFile: configPath,
mode: process.env.NODE_ENV,