Skip to content

Commit

Permalink
fix: Added emitDeclareationOnly option of react tsconfig (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkzt committed Apr 3, 2023
1 parent 2ec75e6 commit a4399a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dev:tsc": "NODE_ENV=development tsc -w",
"build": "npm-run-all -p lib:*",
"lib:rollup": "NODE_ENV=production rollup -c",
"lib:tsc": "NODE_ENV=production tsc --emitDeclarationOnly -p ./tsconfig.lib.json",
"lib:tsc": "NODE_ENV=production tsc -p ./tsconfig.lib.json",
"clear": "rimraf lib/*",
"typecheck": "tsc",
"lint": "eslint ./src --ext .js,.ts,.tsx",
Expand Down
3 changes: 2 additions & 1 deletion packages/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"rootDir": "./src",
"outDir": "./lib",
"declaration": true,
"declarationDir": "./lib"
"declarationDir": "./lib",
"emitDeclarationOnly": true
},
"include": ["src/**/*"],
"references": []
Expand Down

1 comment on commit a4399a8

@vercel
Copy link

@vercel vercel bot commented on a4399a8 Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svg-drawing – ./

svg-drawing-kmkzt.vercel.app
svg-drawing.vercel.app
svg-drawing-git-master-kmkzt.vercel.app

Please sign in to comment.