Skip to content

Commit e59e50f

Browse files
committed
build: fix race condition in build scripts
1 parent 749e2e5 commit e59e50f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

esbuild.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const esbuild = require('esbuild');
21
const { execSync } = require('child_process');
32
const { readFileSync, writeFileSync, existsSync } = require('fs');
43

@@ -9,7 +8,7 @@ const projectPath = project.startsWith('test-')
98
? 'examples/plugins'
109
: `packages/${project}`;
1110

12-
esbuild.build({
11+
module.exports = {
1312
plugins: [
1413
{
1514
name: 'TypeScriptDeclarations',
@@ -79,4 +78,4 @@ esbuild.build({
7978
},
8079
},
8180
],
82-
});
81+
};

0 commit comments

Comments
 (0)