Skip to content

Commit

Permalink
fix: refactor build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwa committed May 26, 2022
1 parent ed13640 commit 1fe81a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
runPackageJsonScript,
createLambda,
} from '@vercel/build-utils';
import { version } from '../package.json';

import type { Route } from '@vercel/routing-utils';

interface BuilderOutput {
Expand All @@ -38,7 +38,7 @@ interface BuilderOutput {
export async function build(opts: BuildOptions): Promise<BuilderOutput> {
const { files, entrypoint, workPath, config = {}, meta = {} } = opts;

consola.log(`use vercel-quasar@${version}`);
consola.log(`use vercel-quasar@${require('../package.json').version}`);
/** prepare build */
startStep(`Prepare build`);
validateEntrypoint(entrypoint);
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "ESNext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"lib": ["ESNext"],
"rootDir": ".",
"rootDir": "src",
"outDir": "./dist",
"declaration": true,
"strict": true /* Enable all strict type-checking options. */,
Expand Down

0 comments on commit 1fe81a1

Please sign in to comment.