diff --git a/ct/reactive-resume.sh b/ct/reactive-resume.sh index 521b8de021..2bb8b43164 100644 --- a/ct/reactive-resume.sh +++ b/ct/reactive-resume.sh @@ -66,6 +66,8 @@ function update_script() { $STD unzip "$brwsr_tmp" mv browserless-"$TAG"/ /opt/browserless cd /opt/browserless + $STD npm install typescript + $STD npm install esbuild $STD npm install rm -rf src/routes/{chrome,edge,firefox,webkit} $STD node_modules/playwright-core/cli.js install --with-deps chromium diff --git a/install/reactive-resume-install.sh b/install/reactive-resume-install.sh index f1585e55a3..fa1579dadd 100644 --- a/install/reactive-resume-install.sh +++ b/install/reactive-resume-install.sh @@ -61,6 +61,8 @@ cd /opt/browserless $STD npm install rm -rf src/routes/{chrome,edge,firefox,webkit} $STD node_modules/playwright-core/cli.js install --with-deps chromium +$STD npm install typescript --save-dev +$STD npm install esbuild --save-dev $STD npm run build $STD npm run build:function $STD npm prune production