fix(compat): disable stdin-discarder (#2640)

pull/2641/head
Divyansh Singh 1 year ago committed by GitHub
parent ec7643dc13
commit 08c4bacac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,7 +43,7 @@ export async function build(
const entryPath = path.join(siteConfig.tempDir, 'app.js') const entryPath = path.join(siteConfig.tempDir, 'app.js')
const { render } = await import(pathToFileURL(entryPath).toString()) const { render } = await import(pathToFileURL(entryPath).toString())
const spinner = ora() const spinner = ora({ discardStdin: false })
spinner.start('rendering pages...') spinner.start('rendering pages...')
try { try {

@ -145,7 +145,7 @@ export async function bundle(
let clientResult: RollupOutput | null let clientResult: RollupOutput | null
let serverResult: RollupOutput let serverResult: RollupOutput
const spinner = ora() const spinner = ora({ discardStdin: false })
spinner.start('building client + server bundles...') spinner.start('building client + server bundles...')
try { try {
clientResult = config.mpa clientResult = config.mpa

Loading…
Cancel
Save