Skip to content

Commit 01f1985

Browse files
authored
Add typescript and esbuild to browserless setup (#8666)
Updated both the update and install scripts to include installation of typescript and esbuild for browserless. This ensures required build dependencies are present before running build commands.
1 parent 92f9033 commit 01f1985

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ct/reactive-resume.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ function update_script() {
6666
$STD unzip "$brwsr_tmp"
6767
mv browserless-"$TAG"/ /opt/browserless
6868
cd /opt/browserless
69+
$STD npm install typescript
70+
$STD npm install esbuild
6971
$STD npm install
7072
rm -rf src/routes/{chrome,edge,firefox,webkit}
7173
$STD node_modules/playwright-core/cli.js install --with-deps chromium

install/reactive-resume-install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ cd /opt/browserless
6161
$STD npm install
6262
rm -rf src/routes/{chrome,edge,firefox,webkit}
6363
$STD node_modules/playwright-core/cli.js install --with-deps chromium
64+
$STD npm install typescript --save-dev
65+
$STD npm install esbuild --save-dev
6466
$STD npm run build
6567
$STD npm run build:function
6668
$STD npm prune production

0 commit comments

Comments
 (0)