-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename experimental.resolveAlias to experimental.turbopackResolveAlias (
vercel/turborepo#3651) Following discussion at #45560, this renames `experimental.resolveAlias` to `experimental.turbopackResolveAlias` to make it clear that this option is only available in Turbopack. Test Plan: `cargo test -p next-dev-tests`
- Loading branch information
1 parent
205ce2f
commit 0ce9cf5
Showing
3 changed files
with
5 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
4 changes: 2 additions & 2 deletions
4
crates/next-dev-tests/tests/integration/next/resolve-alias/basic/input/index.js
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,10 +1,10 @@ | ||
import foo from "foo"; | ||
import foo2 from "foo2"; | ||
|
||
it("aliases foo to bar through the next.config.js experimental.resolveAlias property", () => { | ||
it("aliases foo to bar through the next.config.js experimental.turbopackResolveAlias property", () => { | ||
expect(foo).toBe(42); | ||
}); | ||
|
||
it("aliases foo2 to bar through the next.config.js experimental.resolveAlias property with export condition", () => { | ||
it("aliases foo2 to bar through the next.config.js experimental.turbopackResolveAlias property with export condition", () => { | ||
expect(foo2).toBe(42); | ||
}); |
2 changes: 1 addition & 1 deletion
2
crates/next-dev-tests/tests/integration/next/resolve-alias/basic/input/next.config.js
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