vite-manifest-css
v0.0.1
Published
Vite plugin to generate a manifest of CSS files based on CSS entrypoints. This functionality is not supported nor expected to be supported in Vite. However this is a useful feature when integrating Vite managed assets with HTML that is rendered by another
Downloads
2
Readme
vite-manifest-css
Vite plugin to generate a manifest of CSS files based on CSS entrypoints. This functionality is not supported nor expected to be supported in Vite. However this is a useful feature when integrating Vite managed assets with HTML that is rendered by another language/framework.
Code extracted from: https://github.com/ElMassimo/vite_ruby/blob/59c5c005d1ee8d12431071046e8298b515cf4db6/vite-plugin-ruby/src/manifest.ts
Usage
import { defineConfig } from "vite";
import { CSSManifestPlugin } from "vite-manifest-css";
export default defineConfig({
plugins: [CSSManifestPlugin()],
});