Fix esp-web-tools URL to use bundled web build

/dist/install-button.js has bare 'tslib' imports that browsers reject.
/dist/web/install-button.js is the fully bundled build with only
relative imports — works without an import map.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-04-15 11:21:02 -04:00
parent a769e419e6
commit 6c3bb713d3

View file

@ -3595,7 +3595,7 @@
<!-- Main application -->
<script src="js/app.js"></script>
<!-- esp-web-tools for firmware flashing (Web Serial) -->
<script type="module" src="https://unpkg.com/esp-web-tools@10.2.1/dist/install-button.js"></script>
<script type="module" src="https://unpkg.com/esp-web-tools@10.2.1/dist/web/install-button.js"></script>
<!-- Onboarding wizard -->
<script src="js/onboard.js"></script>
<!-- OTA firmware management -->