diff --git a/docs/build-assets.sh b/docs/build-assets.sh index 8d2a921627..4e2e0c2d44 100755 --- a/docs/build-assets.sh +++ b/docs/build-assets.sh @@ -12,20 +12,21 @@ mkdir -p docs/examples/browser echo Build example aepp cd ./examples/browser/aepp npm i -VUE_APP_WALLET_URL=../wallet-iframe/ PUBLIC_PATH=./ npm run build +VUE_APP_WALLET_URL=../wallet-iframe/ PUBLIC_PATH=./ npm run build -- --report mv -f dist/ ../../../docs/examples/browser/aepp echo Build example wallet-iframe cd ../wallet-iframe npm i -VUE_APP_AEPP_URL=../aepp/ PUBLIC_PATH=./ npm run build +VUE_APP_AEPP_URL=../aepp/ PUBLIC_PATH=./ npm run build -- --report mv -f dist/ ../../../docs/examples/browser/wallet-iframe echo Build example wallet-web-extension cd ../wallet-web-extension npm i -NODE_OPTIONS=--openssl-legacy-provider npm run build -mv artifacts/wallet-web-extension-v0.1.0-production.zip ../../../docs/examples/browser/wallet-web-extension.zip +NODE_OPTIONS=--openssl-legacy-provider npm run build -- --report +mv artifacts/wallet-web-extension-v0.1.0-production.zip ../../../docs/examples/browser/wallet-web-extension/packed.zip +mv dist/report.html ../../../docs/examples/browser/wallet-web-extension/report.html cd ../../.. perl -i -pe 's/"rem-prepare"/"prepare"/g' package.json diff --git a/mkdocs.yml b/mkdocs.yml index b12e725d70..df284c1748 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -74,7 +74,7 @@ nav: - Browser: - 'Aepp example': examples/browser/aepp/index.html - 'Iframe wallet example': examples/browser/wallet-iframe/index.html - - 'Webextension wallet example': examples/browser/wallet-web-extension.zip + - 'Webextension wallet example': examples/browser/wallet-web-extension/packed.zip - tutorials/vuejs/helloworld-blockheight.md - 'API Reference': api/index.html - compatibility.md