From 5a684947331f4105df92be1051b11a6999e50b6b Mon Sep 17 00:00:00 2001 From: Mateusz Wilk Date: Wed, 23 Nov 2022 21:39:31 +0000 Subject: [PATCH] (feat): support ES modules resolves #147 --- jest.config.js => jest.config.cjs | 0 package.json | 1 + 2 files changed, 1 insertion(+) rename jest.config.js => jest.config.cjs (100%) diff --git a/jest.config.js b/jest.config.cjs similarity index 100% rename from jest.config.js rename to jest.config.cjs diff --git a/package.json b/package.json index 59956b2..d1c61e3 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "use-debounce", "version": "8.0.4", "description": "Debounce hook for react", + "type": "module", "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.module.js",