Skip to content

Commit 93d92cf

Browse files
committed
wip: add console log
1 parent 426343c commit 93d92cf

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/waku/src/lib/plugins/vite-plugin-deploy-vercel.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import path from 'node:path';
2-
import { cpSync, existsSync, mkdirSync, writeFileSync } from 'node:fs';
2+
import {
3+
cpSync,
4+
existsSync,
5+
mkdirSync,
6+
writeFileSync,
7+
readdirSync,
8+
} from 'node:fs';
39
import type { Plugin } from 'vite';
410

511
import { unstable_getBuildOptions } from '../../server.js';
@@ -134,6 +140,10 @@ export function deployVercelPlugin(opts: {
134140
path.join(serverlessDir, 'package.json'),
135141
JSON.stringify({ type: 'module' }, null, 2),
136142
);
143+
console.log(
144+
'Vercel serverless dist',
145+
readdirSync(path.join(serverlessDir, opts.distDir)),
146+
);
137147
}
138148

139149
const routes =

0 commit comments

Comments
 (0)