Skip to content

Commit dbf588f

Browse files
authored
Fixed ESM imports (#527)
no ref Imports were not finding the right file and were instead defaulting to the ESM version, causing CJS to fail.
1 parent e73850b commit dbf588f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/referrer-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"description": "Simple library for parsing referrer URLs",
55
"type": "module",
6-
"main": "./dist/index.js",
6+
"main": "./dist/index.cjs",
77
"module": "./dist/index.js",
88
"types": "./dist/index.d.ts",
99
"exports": {

0 commit comments

Comments
 (0)