@datarose/rollup-plugin-minify
v0.1.0
Published
Rollup plugin to minify or clean up generated bundles using esbuild
Downloads
2
Maintainers
Readme
The purpose of the package is to ensure that product codes can be minified in a personalized manner in every case.
Installation
Supports
- Vite >=5
- Node >=21
npm install @datarose/rollup-plugin-minify --save-dev
Startup
vite.config.js
// vite.config.ts
import { minify } from '@datarose/rollup-plugin-minify'
export default defineConfig({
build: {
rollupOptions: {
plugins: [
minify(),
],
},
},
})
Early Access
The package is still very primitive, and we have many more plans for the future. We aim to exclude all unnecessary files or code snippets that are only needed for development from the scripts intended for minification.
Open Source Repository
While we haven't opened the plugin's repository to the public yet, we are actively working towards doing so and fostering an active community to improve the package's quality.
License
All rights reserved as specified in the LICENSE
file! This project can be considered reusable, copyable, and/or distributable, provided that the original public repository link is included in the source code and made visible to those who use the product that incorporates this source code/package.