diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index ea56e6a..9b2685c 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -25,5 +25,5 @@ jobs: run: yarn lint working-directory: ./src/ekoke_erc20_swap_frontend - name: build - run: yarn build:release + run: yarn build working-directory: ./src/ekoke_erc20_swap_frontend diff --git a/scripts/dfx-build.sh b/scripts/dfx-build.sh index 8acb30a..058dde6 100755 --- a/scripts/dfx-build.sh +++ b/scripts/dfx-build.sh @@ -5,7 +5,7 @@ cd ./src/ekoke_erc20_swap_frontend/ yarn mkdir -p node_modules/web3/dist/ wget -O node_modules/web3/dist/web3.min.js "https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js" -yarn build:release +yarn build cd - # build rust canisters diff --git a/src/ekoke_erc20_swap_frontend/package.json b/src/ekoke_erc20_swap_frontend/package.json index 62f4f99..b92da0e 100644 --- a/src/ekoke_erc20_swap_frontend/package.json +++ b/src/ekoke_erc20_swap_frontend/package.json @@ -20,7 +20,7 @@ ] }, "scripts": { - "build:release": "yarn clean && parcel build src/index.html --reporter @parcel/reporter-bundle-analyzer && cp sitemap.xml dist/sitemap.xml && cp robots.txt dist/robots.txt && cp favicon.ico dist/favicon.ico", + "build": "yarn clean && parcel build src/index.html --reporter @parcel/reporter-bundle-analyzer && cp sitemap.xml dist/sitemap.xml && cp robots.txt dist/robots.txt && cp favicon.ico dist/favicon.ico", "clean": "rm -rf dist/* .parcel-cache/", "dev": "parcel src/index.html", "lint": "eslint . --ext .ts --ext .tsx --max-warnings=0",