diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 58fb07a..ae0cb46 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -43,12 +43,6 @@ jobs: rm -rf dist NODE_ENV=production npm exec -- tsc NODE_ENV=production npm exec -- rollup -c - - name: Rename and copy build artifact - run: | - mkdir js/modules - cp dist/web/*.js js/modules/ - mv js/modules/index.js js/modules/esptool.js - ls js/modules/ - name: Commit Distribution Files uses: stefanzweifel/git-auto-commit-action@v4 if: startswith(github.repository, 'adafruit/') diff --git a/index.html b/index.html index 17699d0..10de8c3 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ // In development we import locally. window.location.hostname === "localhost" ? "/dist/web/index.js" - : "./js/modules/esptool.js" + : "https://cdn.jsdelivr.net/gh/adafruit/Adafruit_WebSerial_ESPTool@latest/dist/web/index.js" );