From bda09b85f42a9a40c039ec949664f646c12be5a3 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Fri, 14 Aug 2026 19:35:58 +0300 Subject: [PATCH] docs: improve README Generated by qwen3.6-35b-a3b via local API. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 4db48aa..546b1b4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ + + + # vite-plugin-version [![NPM version](https://img.shields.io/npm/v/vite-plugin-version?color=a1b858&label=)](https://www.npmjs.com/package/vite-plugin-version) @@ -39,6 +42,16 @@ export default defineConfig({ ``` +You can also pass options to customize the behavior: + +```ts +versionPlugin({ + packageJsonPath: './custom/package.json', + field: 'version', + fileName: 'my-version.json', +}) +``` + ## License [MIT](./LICENSE) License © 2022 [YRM](https://github.com/yrming)