@eldrex/vite
v1.9.0
Published
Vite plugin for DevDiff — automatically runs changelog generation on build
Readme
@eldrex/vite
Vite plugin for DevDiff — automatically runs changelog generation on build
Overview
@eldrex/vite integrates with Vite to run local changelog analysis on bundle close. This is useful for automatically generating release notes on production builds or local dev runs.
Installation
npm install @eldrex/viteQuick Start
Add to vite.config.ts:
import { defineConfig } from "vite";
import devDiffPlugin from "@eldrex/vite";
export default defineConfig({
plugins: [
devDiffPlugin({
enabled: true,
output: "CHANGELOG.md",
}),
],
});🔒 Security & Privacy
What This Package Accesses
- Shell: Spawns
git diff HEAD~1on compilation to parse recent code adjustments. - File System: Appends markdown entries directly to local output paths (e.g.
CHANGELOG.md).
All operations run locally inside the project folder boundary.
License
MIT © DevDiff Contributors
