@datarose/rollup-plugin-minify
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published
@datarose / rollup plugin minify logo

Rollup Plugin Minify

Rollup plugin to minify or clean up generated bundles using esbuild.

 

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.

Package Sidebar

Install

npm i @datarose/rollup-plugin-minify

Weekly Downloads

0

Version

0.1.0

License

GPL-3.0-only

Unpacked Size

4.69 kB

Total Files

5

Last publish

Collaborators

  • rozsazoltan