Skip to content

Commit 115c16d

Browse files
test(cli): drop stale module reference in bun entrypoint override test
The explicit-entrypoint test still set package.json `module` and named it "override module"; module is no longer read, so it now uses `main` and is named accordingly.
1 parent 1e08de3 commit 115c16d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/tests/app-bun-compat.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ describe("bun compatibility", () => {
110110
).resolves.toMatchObject({ buildType: "tanstack-start" });
111111
});
112112

113-
it("still lets an explicit Bun entrypoint override package.json module", async () => {
113+
it("lets an explicit Bun entrypoint override package.json main", async () => {
114114
const cwd = await createTempCwd();
115115

116116
await writeFile(
117117
path.join(cwd, "package.json"),
118118
JSON.stringify(
119119
{
120-
module: "index.ts",
120+
main: "index.ts",
121121
devDependencies: {
122122
"@types/bun": "latest",
123123
},

0 commit comments

Comments
 (0)