diff options
author | Jannis Mattheis | 2022-11-14 17:18:16 +0100 |
---|---|---|
committer | Jannis Mattheis | 2022-11-14 17:18:16 +0100 |
commit | a02437c231024a8a9641d0005b70e7b8cbb26c2c (patch) | |
tree | 481fabcd41832cb52277d3a0e7e1c98dc20366e6 | |
parent | 0a46b70cf7830aa986a60bdc9a339fe13636fdcc (diff) | |
download | aur-a02437c231024a8a9641d0005b70e7b8cbb26c2c.tar.gz |
Optionally use legacy openssl provider
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -32,6 +32,11 @@ build() { cd "server-$pkgver" ( cd ui + + if node --help | grep -q -- "--openssl-legacy-provider"; then + export NODE_OPTIONS=--openssl-legacy-provider + fi + yarn --frozen-lockfile NODE_ENV=production yarn --frozen-lockfile build ) |