# in version 3.1.2, require is not defined in ES module scope, you can use import instead. This problem does not appear in version 3.1.1, how can I modify it
require is not defined in ES module scope, you can use import instead
3.xpending triageneeds reproduction
exports is not defined is ES module scope - still not working
3.xworkaround availableupstream⛔️ can be closed