From 9b32ff3b08ec08f9788655360a563bb49980a90e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=A1=93=E6=A1=93?= Date: Mon, 13 Mar 2023 18:51:59 +0800 Subject: [PATCH] fix: error building project --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ce21363..762df61 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "main": "dist/index.js", "license": "MIT", "scripts": { - "build": "webpack", + "build": "NODE_OPTIONS=--openssl-legacy-provider webpack", "dev": "wrangler dev", "preview": "wrangler preview", "deploy": "wrangler publish -e production"