You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
668 B
24 lines
668 B
// @ts-nocheck
|
|
|
|
import { main } from "../package.json"
|
|
import { join } from "path"
|
|
import * as electron from "electron"
|
|
import * as chalk from "chalk"
|
|
import * as minimist from "minimist"
|
|
|
|
import { buildVite } from "./code/runVite"
|
|
import { buildElectron } from "./code/runElectron"
|
|
import { tscCheck } from "./code/runCommon"
|
|
const {buildMain} = require("./webpack/runMain")
|
|
|
|
import { exec, spawn, ChildProcess } from "child_process"
|
|
import { watch, rollup, OutputOptions } from "rollup"
|
|
import { waitOn } from "./utils"
|
|
import options from "./rollup.config"
|
|
|
|
;(async () => {
|
|
await tscCheck()
|
|
await buildVite()
|
|
await buildMain()
|
|
// await buildElectron()
|
|
})()
|
|
|