Optional
A short, human-readable description of the module.
This is useful for virtual modules, whose ids (e.g. \0vite/modulepreload-polyfill.js) do not convey their purpose on their own.
\0vite/modulepreload-polyfill.js
function polyfillPlugin() { return { name: 'vite:modulepreload-polyfill', load: { filter: { id: /^\0vite/modulepreload-polyfill\.js$/ }, handler(id) { return { code: '', description: 'A polyfill for `link` tag with `rel="modulepreload"`', }; } }, };} Copy
function polyfillPlugin() { return { name: 'vite:modulepreload-polyfill', load: { filter: { id: /^\0vite/modulepreload-polyfill\.js$/ }, handler(id) { return { code: '', description: 'A polyfill for `link` tag with `rel="modulepreload"`', }; } }, };}
See Custom module meta-data section for more details.
A short, human-readable description of the module.
This is useful for virtual modules, whose ids (e.g.
\0vite/modulepreload-polyfill.js) do not convey their purpose on their own.