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 7b6d7b2..079dbf6 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",