diff --git a/packages/wouter-preact/package.json b/packages/wouter-preact/package.json index 147c5a7..c176c85 100644 --- a/packages/wouter-preact/package.json +++ b/packages/wouter-preact/package.json @@ -17,6 +17,7 @@ "types/**/*.d.ts", "types/*.d.ts" ], + "main": "esm/index.js", "exports": { ".": { "types": "./types/index.d.ts", diff --git a/packages/wouter/package.json b/packages/wouter/package.json index bd8512c..50f5327 100644 --- a/packages/wouter/package.json +++ b/packages/wouter/package.json @@ -17,6 +17,7 @@ "types/**/*.d.ts", "types/*.d.ts" ], + "main": "esm/index.js", "exports": { ".": { "types": "./types/index.d.ts",