Skip to content

Commit e77073d

Browse files
authored
fix(pkg):
use `./*": { `
1 parent cedf320 commit e77073d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "ts-module-mock",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "typescript cjs and esm module library mockup",
55
"main": "./dist/index.cjs",
66
"module": "./dist/index.mjs",
77
"exports": {
88
"./package.json": "./package.json",
9-
".": {
10-
"import": "./dist/index.mjs",
11-
"require": "./dist/index.cjs"
9+
"./*": {
10+
"import": "./dist/*.mjs",
11+
"require": "./dist/*.cjs"
1212
}
1313
},
14-
"typings": "dist/index.d.ts",
14+
"typings": "./dist/index.d.ts",
1515
"files": [
1616
"dist",
1717
"src"
@@ -27,7 +27,7 @@
2727
"compile": "npx rollup -c rollup.config.js",
2828
"fmt": "npx prettier --config .prettierrc.js --write src/**/*.ts"
2929
},
30-
"keywords": [],
30+
"keywords": ["typescript modules", "esm modules", "commonjs modules", "isomorphic modules"],
3131
"author": "Sam Bacha",
3232
"license": "APACHE-2.0",
3333
"dependencies": {},

0 commit comments

Comments
 (0)