From 7bca97fe4e24edeb857000b4b536b5805b779584 Mon Sep 17 00:00:00 2001 From: FrankLeeeee Date: Fri, 26 Apr 2024 17:26:47 +0800 Subject: [PATCH] updated package json --- package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c9b7904..d493c5e 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,15 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "postbuild": "react-snap" + }, + "reactSnap": { + "skipThirdPartyRequests": true, + "puppeteerArgs": [ + "--no-sandbox", + "--disable-setuid-sandbox" + ] }, "eslintConfig": { "extends": [