It appears that the official chrome webstore extension by Rob W is outdated. It was last updated in 2019. 

function babelPluginReplaceNonWebpackImports(babel) {
    return {
      visitor: {
        Identifier(curPath, state) {
          if (curPath.node.name === "__non_webpack_require__") {
            curPath.replaceWith(babel.types.identifier("require"));
          } else if (curPath.node.name === "__non_webpack_import__") {
            curPath.replaceWith(babel.types.identifier("import"));
          }
        },
      },
    };
  }
  function preprocess(content) {