1.0.0 • Published 8 days ago

rollup-plugin-tdewolff-minify v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 days ago

rollup-plugin-tdewolff-minify

Build Status npm package Coverage Status

Import po files as i18next compatible json objects with rollup

Install

$ npm install --save-dev rollup-plugin-tdewolff-minify @tdewolff/minify

Usage

Compile using:

// rollup.config.js
import minify from 'rollup-plugin-tdewolff-minify';

export default {
  input: 'src/main.js',
  output: {
    file: 'dist/bundle.js',
    format: 'esm',
  },
  plugins: [minify()]
};

Options

minThreads

Type: number Default: undefined

Sets the minimum number of threads that are always running for this thread pool. The default is based on the number of available CPUs.

maxThreads

Type: number Default: undefined

Sets the maximum number of threads that are running for this thread pool. The default is based on the number of available CPUs.

options

Type: object Default: undefined

Minify options, see https://github.com/tdewolff/minify/tree/master/bindings/js#usage.

1.0.0

8 days ago

0.3.0

7 months ago

0.2.0

9 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago