diff --git a/web/bin/postbuild.sh b/web/bin/postbuild.sh index dab5c6be73..e4bbc6af10 100755 --- a/web/bin/postbuild.sh +++ b/web/bin/postbuild.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh set -e # purgecss --css build/static/css/*.css --content build/index.html build/static/js/*.js --output build/static/css diff --git a/web/bin/prebuild.sh b/web/bin/prebuild.sh index 777c6f49de..50abeb35b3 100755 --- a/web/bin/prebuild.sh +++ b/web/bin/prebuild.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh set -e babel scripts --out-dir tmp --extensions '.ts,.tsx' diff --git a/web/package.json b/web/package.json index 1454352d2c..640d97bf89 100644 --- a/web/package.json +++ b/web/package.json @@ -6,9 +6,9 @@ }, "scripts": { "dev": "react-scripts start", - "prebuild": "bash bin/prebuild.sh", + "prebuild": "sh bin/prebuild.sh", "build": "react-scripts build", - "postbuild": "bash bin/postbuild.sh", + "postbuild": "sh bin/postbuild.sh", "serve": "serve build --listen 3000", "analyze": "react-scripts build && source-map-explorer 'build/static/js/*.js'", "tsc": "tsc --noEmit",