/pika-plugin-minify

pika pack plugin that minifies output

Primary LanguageJavaScript

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.