diff --git a/package.json b/package.json index 52ade2940..2d3a48612 100644 --- a/package.json +++ b/package.json @@ -20,14 +20,14 @@ "module": "dist/index.js", "exports": { ".": { - "import": "./dist/index.js", + "types": "./dist/index.d.ts", "require": "./dist/index.cjs", - "types": "./dist/index.d.ts" + "import": "./dist/index.js" }, "./maplibre": { - "import": "./dist/exports-maplibre.js", + "types": "./dist/exports-maplibre.d.ts", "require": "./dist/exports-maplibre.cjs", - "types": "./dist/exports-maplibre.d.ts" + "import": "./dist/exports-maplibre.js" } }, "files": [