We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a4f60 commit 6da7626Copy full SHA for 6da7626
package.json
@@ -2,14 +2,14 @@
2
"name": "openapi-pact-comparator",
3
"version": "1.0.0",
4
"description": "",
5
- "main": "dist/index.js",
+ "main": "dist/index.cjs",
6
"module": "dist/index.mjs",
7
"files": [
8
"dist"
9
],
10
"exports": {
11
".": {
12
- "default": "./dist/index.js",
+ "require": "./dist/index.cjs",
13
"import": "./dist/index.mjs",
14
"types": "./dist/src/index.d.ts"
15
}
rollup.config.js
@@ -20,7 +20,7 @@ export default [
20
{
21
...common,
22
output: {
23
- file: "dist/index.js",
+ file: "dist/index.cjs",
24
format: "cjs",
25
sourcemap: true,
26
},
0 commit comments