pxt-compile.py packs a MakeCode Arcade project folder into either:
- a Magic PNG that can be imported into MakeCode
- a source-embedded UF2
py pxt-compile.py .\project-folder .\packed.png --format png
py pxt-compile.py .\project-folder .\packed.uf2 --format uf2- The tool reads
pxt.jsonand packspxt.jsonplus the files listed infiles. --include-testsalso packstestFiles.- The PNG path can grow vertically as needed, and the UF2 path can emit as many blocks as needed, so the tool is not limited by the usual editor export size caps.