Skip to content

Commit 1dc8c96

Browse files
committed
Changed build target
1 parent 283bee4 commit 1dc8c96

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

build.tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "es6",
44
"declaration": true,
5-
"module": "CommonJS",
5+
"module": "ES2020",
66
"esModuleInterop": true,
77
"jsx": "react",
88
"lib": ["dom", "es2015", "es2016"],

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rmr/use-dropdown",
3-
"version": "0.8.7",
3+
"version": "0.8.9",
44
"description": "",
55
"main": "./lib/index.js",
66
"repository": {

tsconfig.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
3+
"target": "es6",
4+
"module": "ES2020",
45
"declaration": true,
5-
"module": "CommonJS",
66
"esModuleInterop": true,
77
"jsx": "react",
8-
"lib": ["dom", "es2015", "es2016"],
98
"sourceMap": true,
10-
"moduleResolution": "node",
119
"outDir": "lib/",
1210
"rootDir": "."
1311
},

0 commit comments

Comments
 (0)