vite-plugin-brotli
v2.1.0
Published
compress your Vite html, css and js files with brotli
Maintainers
Readme
vite-plugin-brotli
Description
A Vite plugin that compresses your HTML, CSS, and JS files using Brotli compression.
Installation
To install the plugin, run the following command:
npm i -D vite-plugin-brotliUsage
To use the plugin in your Vite project, add it to your vite.config.js file:
import { defineConfig } from 'vite'
import vitePluginBrotli from 'vite-plugin-brotli'
export default defineConfig({
plugins: [
vitePluginBrotli()
]
})Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
License
This project is licensed under the ISC License.
