From 8a106af6b8f18396079cec2916020ffe7aad3c38 Mon Sep 17 00:00:00 2001 From: uzlopak Date: Mon, 7 Mar 2022 10:55:04 +0100 Subject: [PATCH] improve esm-support --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 41498440..7afdc0f2 100755 --- a/index.js +++ b/index.js @@ -1 +1,4 @@ -module.exports = require('./benchmark'); \ No newline at end of file +const benchmark = require('./benchmark'); +module.exports = benchmark; +module.exports.default = benchmark; +module.exports.benchmark = benchmark;