Skip to content

Commit

Permalink
feat: link to local generated client for faster feedback
Browse files Browse the repository at this point in the history
- Changed vite config according to this thread on including local
  dependencies: vitejs/vite#15412 (comment)
  • Loading branch information
azrosen92 committed Feb 6, 2025
1 parent 4d7f72c commit c037e0d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 31 deletions.
63 changes: 33 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"typescript": "^5.6.3"
},
"dependencies": {
"@gusto/embedded-api": "^0.1.5",
"@gusto/embedded-api": "file:../gusto-typescript-client/gusto_embedded",
"@hookform/error-message": "^2.0.1",
"@hookform/resolvers": "^3.9.0",
"@internationalized/date": "^3.5.6",
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default defineConfig({
}),
],
resolve: {
preserveSymlinks: true,
alias: {
'@': resolve(__dirname, './src'),
},
Expand Down

0 comments on commit c037e0d

Please sign in to comment.