Skip to content

Commit 3908190

Browse files
authored
fix: cjs using .js extension (#846)
fix #845
2 parents 032dc7c + 7f0704e commit 3908190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "15.5.0",
44
"description": "Format whitespace in a SQL query to make it more readable",
55
"license": "MIT",
6-
"main": "dist/cjs/index.cjs",
6+
"main": "dist/cjs/index.js",
77
"module": "dist/esm/index.js",
88
"unpkg": "dist/sql-formatter.min.js",
99
"exports": {
1010
"./package.json": "./package.json",
1111
".": {
1212
"import": "./dist/esm/index.js",
13-
"require": "./dist/cjs/index.cjs"
13+
"require": "./dist/cjs/index.js"
1414
}
1515
},
1616
"bin": {

0 commit comments

Comments
 (0)