-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(cli): prevent some edge conditions from going wrong
- Loading branch information
1 parent
a86e7a3
commit c5ca51f
Showing
5 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/rspack-cli/tests/build/config/moonrepo/packageA/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// @ts-ignore | ||
// @ts-ignore: Because dynamically create node_modules | ||
import testDeps from "test-deps"; | ||
|
||
export default testDeps as unknown as { version: string }; |
2 changes: 1 addition & 1 deletion
2
packages/rspack-cli/tests/build/config/moonrepo/packageB/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// @ts-ignore | ||
// @ts-ignore: Because dynamically create node_modules | ||
import testDeps from "test-deps"; | ||
|
||
export default testDeps as unknown as { version: string }; |
4 changes: 2 additions & 2 deletions
4
packages/rspack-cli/tests/build/config/moonrepo/rspack.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters