Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information