Skip to content

Commit

Permalink
fix: igr-ts specificPath
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyexeption committed Oct 24, 2023
1 parent 7cd2895 commit 8cdf3b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/util/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,10 @@ export class Util {
specificPath = path.join("src", "app", "components");
} else if (framework === "react" && projectType === "es6") {
specificPath = path.join("src", "components");
} else if (framework === "react" && (projectType === "igr-es6" || projectType === "igr-ts")) {
} else if (framework === "react" && projectType === "igr-es6") {
specificPath = path.join("src", "views");
} else if (framework === "react" && projectType === "igr-ts") {
specificPath = path.join("src", "app");
} else if (framework === "webcomponents" && projectType === "igc-ts") {
specificPath = path.join("src", "app");
}
Expand Down

0 comments on commit 8cdf3b5

Please sign in to comment.