From 891f399cbb6c86e26ca850f608313390da8cf0b6 Mon Sep 17 00:00:00 2001 From: akiran Date: Thu, 25 Jan 2024 10:14:01 +0530 Subject: [PATCH] added node options to fix build issue --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9518a536e..c7537de36 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "demo": "SINGLE_DEMO=true DEV_PORT=8000 NODE_OPTIONS=--openssl-legacy-provider gulp server", "build-dev": "gulp clean && gulp copy && webpack", "lib": "babel ./src --out-dir ./lib", - "build": "npm run lib && gulp dist", + "build": "NODE_OPTIONS=--openssl-legacy-provider npm run lib && NODE_OPTIONS=--openssl-legacy-provider gulp dist", "prepublishOnly": "npm run build", "lint": "eslint src", "gen": "node examples/scripts/generateExampleConfigs.js && node examples/scripts/generateExamples.js && xdg-open docs/jquery.html",