Skip to content

Commit

Permalink
fix(bit new) - fix an issue with tsconfig not found during bit new (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
GiladShoham authored Aug 6, 2024
1 parent f49f9c1 commit 7e381e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scopes/generator/generator/workspace-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ export class WorkspaceGenerator {
copyPeerToRuntimeOnRoot: true,
copyPeerToRuntimeOnComponents: false,
updateExisting: false,
// skip pruning here to prevent cases which it caused an error about
// tsconfig not found because the env location was changed
skipPrune: true,
});

// compile the components again now that we have the dependencies installed
Expand Down

0 comments on commit 7e381e5

Please sign in to comment.