microsoft / pxt-mkc

Command line tool for MakeCode editors
https://microsoft.github.io/pxt-mkc/
MIT License
11 stars 6 forks source link

Fix: Remove more node dependencies and forward sim messages from iframe #86

Closed riknoll closed 1 year ago

riknoll commented 1 year ago

Removing the last few node dependencies from makecode-core so that it can be fully webpacked.

Also a couple of other unrelated changes:

  1. Use the vscode iframe postmessage if it exists
  2. Make it so that the build command returns error diagnostics
  3. Forward exceptions and console messages from the sim iframe to the parent window