'use strict';


// So that we can require from dev tools console
const attachRequire = function () {
  global.require = require;
};


module.exports = {
  attachRequire,
};
@@ -9,16 +9,242 @@
 ict';%0A%0A%0A
+const requireFile = function (file) %7B%0A  // Make require relative to src/ directory%0A  const isPath = file.startsWith('/') %7C%7C file.startsWith('.');%0A  if (isPath) %7B%0A    file = '../../src/' + file;%0A  %7D%0A  return require(file);%0A%7D;%0A%0A
 // So th
@@ -346,16 +346,20 @@
  require
+File
 ;%0A%7D;%0A%0A%0Am

Improve require() helper