From e495cb5f03eb7b99831a20319cea25aafdc608c7 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Sun, 4 Jun 2023 09:49:06 +1000 Subject: [PATCH] Fix export extensions --- packages/query-devtools/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/query-devtools/package.json b/packages/query-devtools/package.json index 5e060399b6..fb9fa2bba2 100644 --- a/packages/query-devtools/package.json +++ b/packages/query-devtools/package.json @@ -12,7 +12,7 @@ }, "type": "module", "types": "dist/types/index.d.ts", - "main": "dist/cjs/index.js", + "main": "dist/cjs/index.cjs", "module": "dist/esm/index.js", "exports": { ".": { @@ -21,10 +21,10 @@ "import": "./dist/esm/index.js", "browser": { "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.js" + "require": "./dist/cjs/index.cjs" }, - "require": "./dist/cjs/index.js", - "node": "./dist/cjs/index.js" + "require": "./dist/cjs/index.cjs", + "node": "./dist/cjs/index.cjs" }, "./package.json": "./package.json" },