Skip to content

Commit bf3f6de

Browse files
author
Ahmad Awais
committed
πŸ› FIX: Spinner
1 parent 8264777 commit bf3f6de

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

β€Žpackages/cgb-scripts/scripts/build.jsβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ const spinner = new ora( { text: '' } );
6767
*/
6868
async function build( webpackConfig ) {
6969
// Start the build.
70-
spinner.start( `${ chalk.dim( '\nBuilding and compiling blocks...' ) }` );
70+
console.log( '\n' );
71+
spinner.start( `${ chalk.dim( 'Building and compiling blocks...' ) }` );
7172

7273
// Compiler Instance.
7374
const compiler = await webpack( webpackConfig );

β€Žpackages/cgb-scripts/scripts/start.jsβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ const spinner = new ora( { text: '' } );
5757
// Create the production build and print the deployment instructions.
5858
async function build( webpackConfig ) {
5959
// Start the build.
60-
spinner.start( `${ chalk.dim( '\nBuilding and compiling blocks...' ) }` );
60+
console.log( '\n' );
61+
spinner.start( `${ chalk.dim( 'Building and compiling blocks...' ) }` );
6162

6263
// Compiler Instance.
6364
const compiler = await webpack( webpackConfig );

0 commit comments

Comments
Β (0)