Skip to content

Commit 7646763

Browse files
committed
package: fix main and module entrypoints
1 parent ac35541 commit 7646763

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Extendable geocoder with builtin support for OpenStreetMap Nominatim, Bing, Google, Mapbox, MapQuest, What3Words, Photon, Pelias, HERE, Neutrino, Plus codes",
55
"type": "module",
66
"source": "src/index.ts",
7-
"main": "dist/Control.Geocoder.umd.js",
8-
"module": "dist/Control.Geocoder.js",
7+
"main": "dist/Control.Geocoder.js",
8+
"module": "dist/Control.Geocoder.modern.js",
99
"exports": {
1010
".": {
1111
"import": {
@@ -14,7 +14,7 @@
1414
},
1515
"require": {
1616
"types": "./dist/index.d.ts",
17-
"default": "./dist/Control.Geocoder.cjs"
17+
"default": "./dist/Control.Geocoder.js"
1818
}
1919
},
2020
"./dist/Control.Geocoder.css": "./dist/Control.Geocoder.css",

0 commit comments

Comments
 (0)