Skip to content

Commit c055e74

Browse files
React SDK adjustments vol.2
1 parent 668db1a commit c055e74

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/react-sdk/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@
1010
}
1111
},
1212
"scripts": {
13-
"build": "rimraf ./dist; tsc",
13+
"clean": "rimraf ./dist",
14+
"build": "yarn clean; tsc && echo 'React SDK build complete!'",
1415
"prepublishOnly": "yarn run build"
1516
},
1617
"peerDependencies": {
1718
"react": "^17 || ^18 || ^19"
1819
},
1920
"files": [
20-
"dist"
21+
"dist",
22+
"!dist/.tsbuildinfo"
2123
],
2224
"keywords": [
2325
"react",

packages/react-sdk/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"tsBuildInfoFile": "./node_modules/.tmp/.tsbuildinfo",
3+
"tsBuildInfoFile": "./dist/.tsbuildinfo",
44
"rootDir": "src",
55
"esModuleInterop": true,
66
"skipLibCheck": true,

0 commit comments

Comments
 (0)