Skip to content

Commit a22663b

Browse files
authored
fix(release-please): support require under Node (#472)
fixes #426 Solution from GillianPerard/typescript-json-serializer#129 (comment)
1 parent c03fa3a commit a22663b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
"engines": {
2727
"node": ">= 10.13.0"
2828
},
29-
"exports": "./dist/index.modern.js",
29+
"exports": {
30+
"import": "./dist/index.modern.js",
31+
"require": "./dist/index.js"
32+
},
3033
"files": [
3134
"dist",
3235
"types"

0 commit comments

Comments
 (0)