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" },