From 5ec6e0950ab91dd50214caff7987c25f1c62ccfc Mon Sep 17 00:00:00 2001 From: cheton Date: Fri, 22 Nov 2024 22:49:07 +0800 Subject: [PATCH] fix: enforce ES module export --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index e641a4e..254b91e 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,3 @@ import Controller from './controller'; -module.exports = Controller; +export default Controller;