Skip to content

Commit

Permalink
fix: change dest: entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwa committed Jan 30, 2024
1 parent c9b2178 commit 1c5780f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vercel-nest",
"version": "0.0.2",
"version": "0.0.3",
"description": "",
"main": "dist/index.js",
"files": [
Expand Down
3 changes: 1 addition & 2 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ async function getPreparedFiles(
}

export const build: BuildV3 = async (options) => {
console.log('build options', options);
const { name, version } = await import('../package.json');
console.log(`using ${name}@${version}`);
const {
Expand Down Expand Up @@ -262,7 +261,7 @@ export const build: BuildV3 = async (options) => {
routes = [
{
src,
dest: nestEntry,
dest: entrypoint,
middlewareRawSrc,
middlewarePath: handler,
continue: true,
Expand Down

0 comments on commit 1c5780f

Please sign in to comment.