Skip to content

Commit

Permalink
feat: new logic for building the version file and colors log
Browse files Browse the repository at this point in the history
  • Loading branch information
Hintay committed Jul 31, 2024
1 parent 1dec5d3 commit 30efe6a
Show file tree
Hide file tree
Showing 6 changed files with 543 additions and 609 deletions.
6 changes: 2 additions & 4 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UserConfig } from 'vite';
import { ResolvedConfig } from 'vite';
import type { OutputOptions } from 'rollup';
export interface Options {
destination?: string;
Expand All @@ -14,8 +14,6 @@ export interface AppVersion {
}
export default function vitePluginBuildId(options?: Options): Promise<{
name: string;
config(_config: UserConfig, { command }: {
command: any;
}): Promise<void>;
configResolved(config: ResolvedConfig): Promise<void>;
writeBundle(options: OutputOptions): void;
}>;
64 changes: 34 additions & 30 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 30efe6a

Please sign in to comment.