Search

Wednesday, March 4, 2020

About Scratch :: Developing Scratch Extensions :: Creating extensions for Scratch 3.0

Sheep_maker : @MAS313 Extensions loaded from a URL are run directly inside a web worker, so they do not have access to the `require` function. However, if you include it directly within scratch-vm by modifying the Scratch files, it works because webpack will substitute it with something that works on the web when compiling it.

from Latest posts on Developing Scratch Extensions https://ift.tt/2IqsAHj

No comments:

Post a Comment