Skip to content

Commit 2802742

Browse files
authored
fix(package): cannot import in another project (#6)
Signed-off-by: Kevin Cui <[email protected]>
1 parent 6a7c76f commit 2802742

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oopm",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "OOMOL Package Manager",
55
"main": "src/index.ts",
66
"module": "src/index.ts",
@@ -10,19 +10,19 @@
1010
"oopm": "dist/bin.js"
1111
},
1212
"publishConfig": {
13-
"main": "dist/index.js",
14-
"module": "dist/index.mjs",
13+
"main": "dist/index.cjs",
14+
"module": "dist/index.js",
1515
"types": "dist/index.d.ts"
1616
},
1717
"exports": {
1818
".": {
1919
"import": {
20-
"types": "./dist/index.d.mts",
21-
"default": "./dist/index.mjs"
22-
},
23-
"require": {
2420
"types": "./dist/index.d.ts",
2521
"default": "./dist/index.js"
22+
},
23+
"require": {
24+
"types": "./dist/index.d.cts",
25+
"default": "./dist/index.cjs"
2626
}
2727
}
2828
},

0 commit comments

Comments
 (0)