Skip to content

Commit 5c55f33

Browse files
chore(exports): stop using path fallbacks (#569)
1 parent 1249541 commit 5c55f33

File tree

1 file changed

+7
-28
lines changed

1 file changed

+7
-28
lines changed

package.json

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -107,38 +107,17 @@
107107
"default": "./dist/index.mjs"
108108
},
109109
"./*.mjs": {
110-
"types": [
111-
"./dist/*.d.ts",
112-
"./dist/*/index.d.ts"
113-
],
114-
"default": [
115-
"./dist/*.mjs",
116-
"./dist/*/index.mjs"
117-
]
110+
"types": "./dist/*.d.ts",
111+
"default": "./dist/*.mjs"
118112
},
119113
"./*.js": {
120-
"types": [
121-
"./dist/*.d.ts",
122-
"./dist/*/index.d.ts"
123-
],
124-
"default": [
125-
"./dist/*.js",
126-
"./dist/*/index.js"
127-
]
114+
"types": "./dist/*.d.ts",
115+
"default": "./dist/*.js"
128116
},
129117
"./*": {
130-
"types": [
131-
"./dist/*.d.ts",
132-
"./dist/*/index.d.ts"
133-
],
134-
"require": [
135-
"./dist/*.js",
136-
"./dist/*/index.js"
137-
],
138-
"default": [
139-
"./dist/*.mjs",
140-
"./dist/*/index.mjs"
141-
]
118+
"types": "./dist/*.d.ts",
119+
"require": "./dist/*.js",
120+
"default": "./dist/*.mjs"
142121
}
143122
}
144123
}

0 commit comments

Comments
 (0)