Skip to content

Commit 28db1a3

Browse files
author
Ahmad Awais
committed
🐛 FIX: Remove the build step
1 parent 6e81196 commit 28db1a3

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

packages/create-guten-block/createGutenBlock.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,6 @@ const copyTemplateFiles = () => {
165165
} );
166166
};
167167

168-
// Final npm run build to build the block.
169-
const npmBuildBlock = () => {
170-
return new Promise( async resolve => {
171-
// Build.
172-
await execa( 'npm', [ 'run', 'build', '--slient' ] );
173-
resolve( true );
174-
} );
175-
};
176-
177168
// Print anything in the start.
178169
const prePrint = () => {
179170
console.log( '\n' );
@@ -250,10 +241,6 @@ const run = async() => {
250241
await copyTemplateFiles();
251242
spinner.succeed();
252243

253-
spinner.start( '4. Finally building the block...' );
254-
await npmBuildBlock();
255-
spinner.succeed();
256-
257244
await printNextSteps();
258245
};
259246

0 commit comments

Comments
 (0)