mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-22 12:43:39 +00:00
8 lines
No EOL
291 B
TypeScript
8 lines
No EOL
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})
|