Skip to content
Discussion options

You must be logged in to vote

That file is hardcoded here:

// Don't rely on node_modules being stored in a specific location or having a specific structure
// so that this works when we are a dependency in a bigger npm tree.
const scratchblocksPath = require.resolve("@turbowarp/scratchblocks");
build.files["/docs-internal/scratchblocks.js"] = new BuildFile(
scratchblocksPath
);

But the important part is that it's a very slightly modified version of https://scratchblocks.github.io/

The only significant change we make is deleting the Scratch 2 code because we don't use that mode

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@Brackets-Coder
Comment options

Answer selected by Brackets-Coder
Comment options

You must be logged in to vote
6 replies
@GarboMuffin
Comment options

@Brackets-Coder
Comment options

@Brackets-Coder
Comment options

@CST1229
Comment options

CST1229 Aug 19, 2025
Collaborator

@Brackets-Coder
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants