vite-plugin-dev-manifest weekly downloads statistics
By owlsdepartment (2 listings) · npm · Vite plugins
Vite plugin for generating manifest during dev server
vite-plugin-dev-manifest has 4,826 recorded weekly downloads on npm.
About vite-plugin-dev-manifest
Vite Plugin Dev Manifest
Vite plugin for generating a dev version of manifest file for backend integration, so you can include script and styles without explicitly knowing what to include.
This way, you can run vite dev server and enjoy cool features, like HMR.
Instalation
# yarn
yarn add -D vite-plugin-dev-manifest
# npm
npm install -D vite-plugin-dev-manifest
Usage
Add it to your Vite config
import { defineConfig } from 'vite';
import devManifest from 'vite-plugin-dev-manifest';
export default defineConfig({
plugins: [
devManifest(),
// ...
],
// ...
build: {
// required to create a manifest file
manifest: true,
rollupOptions: {
// specify your input files here, as stated in Vite config https://vitejs.dev/config/#build-rollupoptions
input: 'src/main.ts'
}
}
})
Manifest file will be generated in your dist folder, specified in Vite config. So with default settings it would be something like:
{projectRoot}/dist/manifest.dev.json
Generated manifest will have following structure:
{
// url to base folder in your local dev server
"url": "http://localhost:3000/",
// inputs specified in 'build.rollupOptions.input'
"inputs": {
"main": "src/main.ts"
}
}
It uses your final config to find root, base path and inputs. To retrieve input URL in dev environment, concat it's value with URL like this:
{url}{inputs[input]}
Based on our example, it would be: http://localhost:3000/src/main.ts
NOTE: In manifest file, inputs field is always an object with a keys and values, even if rollupOptions.input is string or an array
Plugin ordering
vite-plugin-dev-manifest forces itself to be registered in later stages, but if more plugins uses enforce: post, it may be needed to order this plugin as the last one, f. ex.: when using along vite-plugin-symfony.
Config
| Name | Type | Default | Description |
|---|---|---|---|
manifestName | string | manifest.dev | name of the generated manifest file in dist folder |
omitInputs | string[] | [] | inputs to omit in generated manifest. It is useful when you want to build some styles or scripts, but not include it in your front app |
delay | number | undefined | you can delay creating of the manifest file if any of the plugins clears dist folder |
clearOnClose | boolean | true | since version 1.2.0 manifest file is being removed, when dev server is closed. To prevent this behaviour, set this flag to false |
Tips
We recommend using vite-plugin-live-reload to reload site when editing your backend files. Don't worry tho, HMR still works for served assets.
License
Library is under MIT License
Description from the npm listing.
- vite-plugin
- vite
- wordpress
- backend integration
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (1)Similar npm Vite plugins plugins
All 20 vite-plugin-dev-manifest alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/vite-plugin-dev-manifest. First seen Oct 27, 2026; last successful collection Oct 27, 2026. See the methodology.