mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
use npm run
This commit is contained in:
parent
baa29098f0
commit
bdeef5fc38
@ -3,7 +3,7 @@ import child_process from "node:child_process"
|
|||||||
export default async function buildAppDist(srcPath) {
|
export default async function buildAppDist(srcPath) {
|
||||||
// build app for production
|
// build app for production
|
||||||
console.log("⚒ Building app...")
|
console.log("⚒ Building app...")
|
||||||
await child_process.execSync("yarn build", {
|
await child_process.execSync("npm run build", {
|
||||||
cwd: srcPath,
|
cwd: srcPath,
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user