implement ESM by hiroppy · Pull Request #1 · hiroppy/the-sample-of-module-bundler
output ((modules) => { const usedModules = {}; function require(moduleId) { if (usedModules[moduleId]) { return usedModules[moduleId].exports; } const module = (usedModul...