fix: resolve scratch-*/src/index.js for expose-loader
fix: resolve scratch-*/src/index.js for expose-loader

require.resolve is a nodejs api that resolves as node resolves. An
enhanced-resolve instance, the library webpack uses, could resolve as
webpack will or we can use some slightly more manual definitions here
for exposing parts of scratch on the global object for the playground's
benchmark to use.

LLK/scratch-vm,LLK/scratch-vm,LLK/scratch-vm