The purpose of the package is to ensure that product codes can be minified in a personalized manner in every case.
Supports
- Vite >=5
- Node >=21
npm install @datarose/rollup-plugin-minify --save-dev
vite.config.js
// vite.config.ts
import { minify } from '@datarose/rollup-plugin-minify'
export default defineConfig({
build: {
rollupOptions: {
plugins: [
minify(),
],
},
},
})
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.
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.
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.