mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-27 15:13:39 +00:00
8 lines
291 B
TypeScript
8 lines
291 B
TypeScript
|
import fs from 'fs'
|
||
|
import path from 'path'
|
||
|
const reactOutput = Bun.spawnSync({
|
||
|
cmd: ['bun', 'build:react']
|
||
|
})
|
||
|
console.log(reactOutput.stdout.toString())
|
||
|
console.log(`Built react app`)
|
||
|
// fs.cpSync(path.join(__dirname, '../build'), path.join(__dirname, '../dist/php'), {recursive: true})
|