Importing certain extensions like keyboard, mouse, gamepad, etc. it causes compilation error in staticpkg hosted on github pages
steps to reproduce:
- follow all the steps in
Local Dev Serverin pxt-maker github page.
- use command
pxt staticpkgto generate static page
- host the static package on github pages like here: https://suraj022.github.io/pxt-test/ (screenshots below are from localhost but it behaves the same on github page aswell)
- open the page stated above and create a new project then select a board eq. adafruit feather-m0-express.
- Go to advanced > extensions and select either keyboard, mouse or gamepad
outputon the bottom and click on output.txt
- there’s an error `error: pxt_modules/base/pxt-core.d.ts(1,1): error TS9043: The hex file is not available, please connect to internet and try again.