Skip to content

Commit

Permalink
fix: omit createEnvironment in BuildOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Sep 4, 2024
1 parent 6d128aa commit 9b847dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export interface BuildEnvironmentOptions {
) => Promise<BuildEnvironment> | BuildEnvironment
}

export type BuildOptions = BuildEnvironmentOptions
export type BuildOptions = Omit<BuildEnvironmentOptions, 'createEnvironment'>

export interface LibraryOptions {
/**
Expand Down

0 comments on commit 9b847dc

Please sign in to comment.