{"library":"vite-plugin-preload","type":"library","category":null,"description":"Vite plugin that preloads all JS chunks and CSS stylesheets generated by dynamic imports (e.g., React.lazy) into the HTML entry point. As of v0.7.0, it automatically injects <link rel=\"modulepreload\"> and <link rel=\"stylesheet\"> tags for every chunk produced by code splitting, improving load performance by prefetching before the user navigates. It differs from manual chunking plugins by targeting framework-level lazy imports rather than Rollup's manualChunks. Released at a moderate cadence, it supports Vite 5+, TypeScript types out of the box, and offers options to filter chunks, choose preload vs prefetch mode, and generate a manifest JSON.","language":"javascript","status":"active","version":"0.7.0","tags":["javascript","vite","preload","plugin","bundle","typescript"],"install":[{"cmd":"npm install vite-plugin-preload","imports":["import preload from 'vite-plugin-preload'","import type { PreloadOptions } from 'vite-plugin-preload'","const preload = require('vite-plugin-preload')"]},{"cmd":"yarn add vite-plugin-preload","imports":[]},{"cmd":"pnpm add vite-plugin-preload","imports":[]}],"homepage":null,"github":"https://github.com/jarlef/vite-plugin-preload","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-preload","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-preload/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}