Skip to content

Commit 832105d

Browse files
remove deug
1 parent 1807084 commit 832105d

4 files changed

Lines changed: 1 addition & 13 deletions

File tree

plugin-vite/src/plugins/server_entry.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ export function serverEntryPlugin(
3838
load(id) {
3939
if (id !== `\0${modName}`) return;
4040

41-
// deno-lint-ignore no-console
42-
console.log("vite gen server entry", { serverOutDir, root });
4341
let code = generateServerEntry({
4442
root: path.relative(serverOutDir, root),
4543
serverEntry: path.toFileUrl(serverEntry).href,

plugin-vite/tests/build_test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,6 @@ Deno.test({
4141
async (address) => {
4242
const res = await fetch(`${address}/test_static/foo.txt`);
4343
const text = await res.text();
44-
// deno-lint-ignore no-console
45-
console.log(
46-
Array.from(
47-
await Deno.readDirSync(
48-
path.join(viteResult.tmp, "_fresh"),
49-
),
50-
),
51-
);
5244
expect(text).toEqual("it works");
5345
},
5446
);

plugin-vite/tests/test_utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function withDevServer(
5151
) {
5252
await using tmp = await withTmpDir({
5353
dir: path.join(import.meta.dirname!, ".."),
54-
prefix: "tmp_",
54+
prefix: "tmp_vite_",
5555
});
5656

5757
await copyDir(DEMO_DIR, tmp.dir);

src/build_cache.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ export class ProdBuildCache<State> implements BuildCache<State> {
6464
const info = staticFiles.get(pathname);
6565
if (info === undefined) return null;
6666

67-
// deno-lint-ignore no-console
68-
console.log("reading", { root: this.root, filePath: info.filePath });
6967
const filePath = path.isAbsolute(info.filePath)
7068
? info.filePath
7169
: path.join(this.root, info.filePath);

0 commit comments

Comments
 (0)