michael-klein / pika-plugin-minify

pika pack plugin that minifies output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pika-plugin-minify

A @pika/pack build plugin. Minifies your index.js files in /pkg/* using terser

Install

# npm:
npm install pika-plugin-minify --save-dev
# yarn:
yarn add pika-plugin-minify --dev

Usage

{
  "name": "example-package-json",
  "version": "1.0.0",
  "@pika/pack": {
    "pipeline": [["pika-plugin-minify",{"minifyOptions": <terser options>}]]
  }
}

For more information about @pika/pack & help getting started, check out the main project repo.

About

pika pack plugin that minifies output


Languages

Language:JavaScript 68.5%Language:TypeScript 31.5%