From 97c2c37cf5c17a60032249eff01247693bca16a5 Mon Sep 17 00:00:00 2001 From: Joowon Lim Date: Wed, 27 Mar 2024 01:00:44 +0900 Subject: [PATCH] =?UTF-8?q?Config:=20=EC=95=94=ED=98=B8=ED=99=94=20?= =?UTF-8?q?=EB=B9=8C=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main_merge.yml | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main_merge.yml b/.github/workflows/main_merge.yml index 442449a..f5ae5c5 100644 --- a/.github/workflows/main_merge.yml +++ b/.github/workflows/main_merge.yml @@ -23,8 +23,8 @@ jobs: - name: cat env file run: cat .env - - name: Generate build # React Build - run: npm run build + - name: Generate wbuild # React Build + run: npm run wbuild # - name: file copy # uses: actions/upload-artifact@v3 diff --git a/package.json b/package.json index 2341a71..178494b 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,8 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "GENERATE_SOURCEMAP=false react-scripts build", + "wbuild": "set \"GENERATE_SOURCEMAP=false\" && react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" },