summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/build.sh b/build.sh
index b30e624773..efd97ed67e 100755
--- a/build.sh
+++ b/build.sh
@@ -217,14 +217,7 @@ pushd "$SCRIPT_DIR/gui"
echo "Installing JavaScript dependencies..."
-# Add `--no-optional` flag when running on non-macOS environments because `npm ci` attempts to
-# install optional dependencies that aren't even available on other platforms.
-NPM_CI_ARGS=""
-if [ "$(uname -s)" != "Darwin" ]; then
- NPM_CI_ARGS+="--no-optional"
-fi
-
-npm ci $NPM_CI_ARGS
+npm ci
################################################################################
# Package release.