A Vite plugin for library projects using yalc for local package development. Version 0.1.3 is the latest stable release, updated occasionally. It hooks into Vite's build process to automatically push the built library to the yalc store after each build. Unlike manual yalc push, it integrates seamlessly into the Vite dev workflow. Provides two main exports: `runYalc` for automatic push after build, and `runCommand` for executing arbitrary scripts before pushing. Requires yalc globally installed.
npm install vite-plugin-yalcVerified import paths — ran on the pinned version, not inferred.
Integrates yalc push into Vite build, automatically pushing library to local yalc store.
Run `npm i -g yalc` prior to using the plugin.
Use Vite's own `rollupOptions` hooks or pre-build scripts instead.
Run `npm install vite-plugin-yalc --save-dev`.
Run `npm install -g yalc`.