Skip to content

Commit

Permalink
Added tsconfig refference option (#576)
Browse files Browse the repository at this point in the history
refactor: update tsconfig refference
  • Loading branch information
kmkzt authored Feb 2, 2023
1 parent e4a29a4 commit d571ba4
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
14 changes: 14 additions & 0 deletions examples/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,19 @@
},
"exclude": [
"node_modules"
],
"references": [
{
"path": "../../packages/animation"
},
{
"path": "../../packages/core"
},
{
"path": "../../packages/img-trace"
},
{
"path": "../../packages/react"
}
]
}
7 changes: 5 additions & 2 deletions packages/animation/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"rootDir": "./src",
"outDir": "./lib",
"declaration": true,
"declarationDir": "./lib",
"declarationDir": "./lib"
},
"include": ["src/**/*"]
"include": [
"src/**/*"
],
"references": []
}
7 changes: 5 additions & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"rootDir": "./src",
"outDir": "./lib",
"declaration": true,
"declarationDir": "./lib",
"declarationDir": "./lib"
},
"include": ["src/**/*"]
"include": [
"src/**/*"
],
"references": []
}
5 changes: 4 additions & 1 deletion packages/img-trace/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"declaration": true,
"declarationDir": "./lib"
},
"include": ["src/**/*"]
"include": [
"src/**/*"
],
"references": []
}
7 changes: 5 additions & 2 deletions packages/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"rootDir": "./src",
"outDir": "./lib",
"declaration": true,
"declarationDir": "./lib",
"declarationDir": "./lib"
},
"include": ["src/**/*"]
"include": [
"src/**/*"
],
"references": []
}

1 comment on commit d571ba4

@vercel
Copy link

@vercel vercel bot commented on d571ba4 Feb 2, 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.vercel.app
svg-drawing-git-master-kmkzt.vercel.app
svg-drawing-kmkzt.vercel.app

Please sign in to comment.