From 061ab38b24f779c3737781eefd997f57b7526e41 Mon Sep 17 00:00:00 2001 From: coderiaser Date: Wed, 25 Feb 2026 17:02:22 +0200 Subject: [PATCH] chore: madrun: simplify --- .madrun.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.madrun.js b/.madrun.js index 16571812..25b65d7c 100644 --- a/.madrun.js +++ b/.madrun.js @@ -7,16 +7,7 @@ const testEnv = defineEnv({ css: true, }); -const is17 = /^v1[789]/.test(process.version); -const is20 = process.version.startsWith('v2'); - -// fix for ERR_OSSL_EVP_UNSUPPORTED on node v17 -// flag '--openssl-legacy-provider' not supported -// on earlier version of node.js -// -// https://stackoverflow.com/a/69746937/4536327 -const buildEnv = (is17 || is20) && { - NODE_OPTIONS: '--openssl-legacy-provider', +const buildEnv = { NODE_ENV: 'production', };