Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Apr 2, 2024
1 parent 2212175 commit 46674ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion scripts/dfx-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ekoke_erc20_swap_frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 46674ac

Please sign in to comment.