Skip to content

Commit 4e3dec7

Browse files
committed
change ts compile module to commonjs
1 parent 540e266 commit 4e3dec7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reto",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"main": "index.js",
55
"repository": "https://github.com/awmleer/reto",
66
"description": "React store with hooks.",

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"declaration": true,
55
"noImplicitAny": true,
66
"target": "es6",
7-
"module": "esnext",
7+
"module": "commonjs",
88
"moduleResolution": "node",
99
"esModuleInterop": true,
1010
"jsx": "react",

0 commit comments

Comments
 (0)