Skip to content

Commit 116c719

Browse files
committed
update build
1 parent bd05833 commit 116c719

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

packages/walletkit/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"repository": "[email protected]:GokiProtocol/walletkit.git",
1515
"scripts": {
16-
"build": "rm -fr dist/ && tsc && tsc -P tsconfig.esm.json"
16+
"build": "rm -fr dist/ && tsc && tsc -P tsconfig.cjs.json"
1717
},
1818
"bugs": {
1919
"url": "https://github.com/GokiProtocol/walletkit/issues"
@@ -23,6 +23,7 @@
2323
"@emotion/styled": "^11.8.1",
2424
"@reach/dialog": "^0.17.0",
2525
"@saberhq/solana-contrib": "^1.13.19",
26+
"@saberhq/tsconfig": "^1.13.19",
2627
"@saberhq/use-solana": "^1.13.19",
2728
"@solana/web3.js": "^1.43.2",
2829
"@types/react-dom": "18.0.5",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
4-
"module": "ESNext",
4+
"module": "CommonJS",
55
"outDir": "dist/esm/"
66
}
77
}

packages/walletkit/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"extends": "../../tsconfig.json",
2+
"extends": "@saberhq/tsconfig/tsconfig.react.json",
33
"compilerOptions": {
4-
"noEmit": false,
5-
"outDir": "dist/cjs/"
4+
"outDir": "dist/esm/",
5+
"noEmit": false
66
},
77
"include": ["src/"]
88
}

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3775,6 +3775,7 @@ __metadata:
37753775
"@reach/dialog": "npm:^0.17.0"
37763776
"@react-spring/web": "npm:^9.4.5"
37773777
"@saberhq/solana-contrib": "npm:^1.13.19"
3778+
"@saberhq/tsconfig": "npm:^1.13.19"
37783779
"@saberhq/use-solana": "npm:^1.13.19"
37793780
"@solana/web3.js": "npm:^1.43.2"
37803781
"@types/react": "npm:^18.0.9"

0 commit comments

Comments
 (0)