Skip to content

Commit

Permalink
fix(vite): createApplicationViteConfig types
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Oct 16, 2023
1 parent d7694a1 commit c2cc5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/node/vite/src/config/configs/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { loadEnv } from "vite";
import { configVitePlugins } from "../../plugins";
import { configureProxy, updateEnvVariables } from "../../utils";

export async function createApplicationViteConfig(command, mode, cwd) {
export async function createApplicationViteConfig(command: "build" | "serve", mode: string, cwd: string) {
const root = cwd;
const isProductionBuild = command === "build";
const env: Recordable<string> = loadEnv(mode, root);
Expand Down

2 comments on commit c2cc5e9

@vercel
Copy link

@vercel vercel bot commented on c2cc5e9 Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

celeris-web – ./apps/admin

celeris-web-kirklin.vercel.app
celeris-web-git-master-kirklin.vercel.app
celeris-web.vercel.app

@vercel
Copy link

@vercel vercel bot commented on c2cc5e9 Oct 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

celeris-web-api – ./services/admin

celeris-web-api-git-master-kirklin.vercel.app
celeris-web-api-kirklin.vercel.app
celeris-web-api.vercel.app

Please sign in to comment.