Skip to content

Commit 966d72a

Browse files
committed
Fix exports cjs path
1 parent 46911de commit 966d72a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/openapi-react-query/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"default": "./dist/index.js"
1919
},
2020
"require": {
21-
"types": "./dist/cjs/index.d.cts",
22-
"default": "./dist/cjs/index.cjs"
21+
"types": "./dist/index.d.cts",
22+
"default": "./dist/index.cjs"
2323
}
2424
},
2525
"./*": "./*"
@@ -50,7 +50,7 @@
5050
"build": "pnpm run build:clean && pnpm run build:esm && pnpm run build:cjs",
5151
"build:clean": "del-cli dist",
5252
"build:esm": "tsc -p tsconfig.build.json",
53-
"build:cjs": "esbuild --bundle --platform=node --target=es2019 --outfile=dist/index.cjs --external:@redocly/ajv --external:@redocly/openapi-core --external:typescript src/index.ts",
53+
"build:cjs": "esbuild --bundle --platform=node --target=es2019 --outfile=dist/index.cjs --external:typescript src/index.ts",
5454
"dev": "tsc -p tsconfig.build.json --watch",
5555
"format": "biome format . --write",
5656
"lint": "biome check .",

0 commit comments

Comments
 (0)