Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

terser-webpack-plugin

webpack-contrib86.8mMIT5.3.11TypeScript support: included

Terser plugin for webpack

uglify, uglify-js, uglify-es, terser, webpack, webpack-plugin, minification, compress, compressor, min, minification, minifier, minify, optimize, optimizer

readme

npm node tests cover discussion size

terser-webpack-plugin

This plugin uses terser to minify/minimize your JavaScript.

Getting Started

Webpack v5 comes with the latest terser-webpack-plugin out of the box. If you are using Webpack v5 or above and wish to customize the options, you will still need to install terser-webpack-plugin. Using Webpack v4, you have to install terser-webpack-plugin v4.

To begin, you'll need to install terser-webpack-plugin:

npm install terser-webpack-plugin --save-dev

or

yarn add -D terser-webpack-plugin

or

pnpm add -D terser-webpack-plugin

Then add the plugin to your webpack config. For example:

webpack.config.js

const TerserPlugin = require("terser-webpack-plugin");

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [new TerserPlugin()],
  },
};

And run webpack via your preferred method.

Note about source maps

Works only with source-map, inline-source-map, hidden-source-map and nosources-source-map values for the devtool option.

Why?

  • eval wraps modules in eval("string") and the minimizer does not handle strings.
  • cheap has not column information and minimizer generate only a single line, which leave only a single mapping.

Using supported devtool values enable source map generation.

Options

test

Type:

type test = string | RegExp | Array<string | RegExp>;

Default: /\.m?js(\?.*)?$/i

Test to match files against.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        test: /\.js(\?.*)?$/i,
      }),
    ],
  },
};

include

Type:

type include = string | RegExp | Array<string | RegExp>;

Default: undefined

Files to include.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        include: /\/includes/,
      }),
    ],
  },
};

exclude

Type:

type exclude = string | RegExp | Array<string | RegExp>;

Default: undefined

Files to exclude.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        exclude: /\/excludes/,
      }),
    ],
  },
};

parallel

Type:

type parallel = boolean | number;

Default: true

Use multi-process parallel running to improve the build speed. Default number of concurrent runs: os.cpus().length - 1.

Note

Parallelization can speedup your build significantly and is therefore highly recommended.

Warning

If you use Circle CI or any other environment that doesn't provide real available count of CPUs then you need to setup explicitly number of CPUs to avoid Error: Call retries were exceeded (see #143, #202).

boolean

Enable/disable multi-process parallel running.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        parallel: true,
      }),
    ],
  },
};

number

Enable multi-process parallel running and set number of concurrent runs.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        parallel: 4,
      }),
    ],
  },
};

minify

Type:

type minify = (
  input: {
    [file: string]: string;
  },
  sourceMap: import("@jridgewell/trace-mapping").SourceMapInput | undefined,
  minifyOptions: {
    module?: boolean | undefined;
    ecma?: import("terser").ECMA | undefined;
  },
  extractComments:
    | boolean
    | "all"
    | "some"
    | RegExp
    | ((
        astNode: any,
        comment: {
          value: string;
          type: "comment1" | "comment2" | "comment3" | "comment4";
          pos: number;
          line: number;
          col: number;
        }
      ) => boolean)
    | {
        condition?:
          | boolean
          | "all"
          | "some"
          | RegExp
          | ((
              astNode: any,
              comment: {
                value: string;
                type: "comment1" | "comment2" | "comment3" | "comment4";
                pos: number;
                line: number;
                col: number;
              }
            ) => boolean)
          | undefined;
        filename?: string | ((fileData: any) => string) | undefined;
        banner?:
          | string
          | boolean
          | ((commentsFile: string) => string)
          | undefined;
      }
    | undefined
) => Promise<{
  code: string;
  map?: import("@jridgewell/trace-mapping").SourceMapInput | undefined;
  errors?: (string | Error)[] | undefined;
  warnings?: (string | Error)[] | undefined;
  extractedComments?: string[] | undefined;
}>;

Default: TerserPlugin.terserMinify

Allows you to override default minify function. By default plugin uses terser package. Useful for using and testing unpublished versions or forks.

Warning

Always use require inside minify function when parallel option enabled.

webpack.config.js

// Can be async
const minify = (input, sourceMap, minimizerOptions, extractsComments) => {
  // The `minimizerOptions` option contains option from the `terserOptions` option
  // You can use `minimizerOptions.myCustomOption`

  // Custom logic for extract comments
  const { map, code } = require("uglify-module") // Or require('./path/to/uglify-module')
    .minify(input, {
      /* Your options for minification */
    });

  return { map, code, warnings: [], errors: [], extractedComments: [] };
};

// Used to regenerate `fullhash`/`chunkhash` between different implementation
// Example: you fix a bug in custom minimizer/custom function, but unfortunately webpack doesn't know about it, so you will get the same fullhash/chunkhash
// to avoid this you can provide version of your custom minimizer
// You don't need if you use only `contenthash`
minify.getMinimizerVersion = () => {
  let packageJson;

  try {
    // eslint-disable-next-line global-require, import/no-extraneous-dependencies
    packageJson = require("uglify-module/package.json");
  } catch (error) {
    // Ignore
  }

  return packageJson && packageJson.version;
};

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          myCustomOption: true,
        },
        minify,
      }),
    ],
  },
};

terserOptions

Type:

type terserOptions = {
  compress?: boolean | CompressOptions;
  ecma?: ECMA;
  enclose?: boolean | string;
  ie8?: boolean;
  keep_classnames?: boolean | RegExp;
  keep_fnames?: boolean | RegExp;
  mangle?: boolean | MangleOptions;
  module?: boolean;
  nameCache?: object;
  format?: FormatOptions;
  /** @deprecated */
  output?: FormatOptions;
  parse?: ParseOptions;
  safari10?: boolean;
  sourceMap?: boolean | SourceMapOptions;
  toplevel?: boolean;
};

Default: default

Terser options.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          ecma: undefined,
          parse: {},
          compress: {},
          mangle: true, // Note `mangle.properties` is `false` by default.
          module: false,
          // Deprecated
          output: null,
          format: null,
          toplevel: false,
          nameCache: null,
          ie8: false,
          keep_classnames: undefined,
          keep_fnames: false,
          safari10: false,
        },
      }),
    ],
  },
};

extractComments

Type:

type extractComments =
  | boolean
  | string
  | RegExp
  | ((
      astNode: any,
      comment: {
        value: string;
        type: "comment1" | "comment2" | "comment3" | "comment4";
        pos: number;
        line: number;
        col: number;
      }
    ) => boolean)
  | {
      condition?:
        | boolean
        | "all"
        | "some"
        | RegExp
        | ((
            astNode: any,
            comment: {
              value: string;
              type: "comment1" | "comment2" | "comment3" | "comment4";
              pos: number;
              line: number;
              col: number;
            }
          ) => boolean)
        | undefined;
      filename?: string | ((fileData: any) => string) | undefined;
      banner?:
        | string
        | boolean
        | ((commentsFile: string) => string)
        | undefined;
    };

Default: true

Whether comments shall be extracted to a separate file, (see details). By default extract only comments using /^\**!|@preserve|@license|@cc_on/i regexp condition and remove remaining comments. If the original file is named foo.js, then the comments will be stored to foo.js.LICENSE.txt. The terserOptions.format.comments option specifies whether the comment will be preserved, i.e. it is possible to preserve some comments (e.g. annotations) while extracting others or even preserving comments that have been extracted.

boolean

Enable/disable extracting comments.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: true,
      }),
    ],
  },
};

string

Extract all or some (use /^\**!|@preserve|@license|@cc_on/i RegExp) comments.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: "all",
      }),
    ],
  },
};

RegExp

All comments that match the given expression will be extracted to the separate file.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: /@extract/i,
      }),
    ],
  },
};

function

All comments that match the given expression will be extracted to the separate file.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: (astNode, comment) => {
          if (/@extract/i.test(comment.value)) {
            return true;
          }

          return false;
        },
      }),
    ],
  },
};

object

Allow to customize condition for extract comments, specify extracted file name and banner.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: {
          condition: /^\**!|@preserve|@license|@cc_on/i,
          filename: (fileData) => {
            // The "fileData" argument contains object with "filename", "basename", "query" and "hash"
            return `${fileData.filename}.LICENSE.txt${fileData.query}`;
          },
          banner: (licenseFile) => {
            return `License information can be found in ${licenseFile}`;
          },
        },
      }),
    ],
  },
};
condition

Type:

type condition =
  | boolean
  | "all"
  | "some"
  | RegExp
  | ((
      astNode: any,
      comment: {
        value: string;
        type: "comment1" | "comment2" | "comment3" | "comment4";
        pos: number;
        line: number;
        col: number;
      }
    ) => boolean)
  | undefined;

Condition what comments you need extract.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: {
          condition: "some",
          filename: (fileData) => {
            // The "fileData" argument contains object with "filename", "basename", "query" and "hash"
            return `${fileData.filename}.LICENSE.txt${fileData.query}`;
          },
          banner: (licenseFile) => {
            return `License information can be found in ${licenseFile}`;
          },
        },
      }),
    ],
  },
};
filename

Type:

type filename = string | ((fileData: any) => string) | undefined;

Default: [file].LICENSE.txt[query]

Available placeholders: [file], [query] and [filebase] ([base] for webpack 5).

The file where the extracted comments will be stored. Default is to append the suffix .LICENSE.txt to the original filename.

Warning

We highly recommend using the txt extension. Using js/cjs/mjs extensions may conflict with existing assets which leads to broken code.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: {
          condition: /^\**!|@preserve|@license|@cc_on/i,
          filename: "extracted-comments.js",
          banner: (licenseFile) => {
            return `License information can be found in ${licenseFile}`;
          },
        },
      }),
    ],
  },
};

Type:

type banner = string | boolean | ((commentsFile: string) => string) | undefined;

Default: /*! For license information please see ${commentsFile} */

The banner text that points to the extracted file and will be added on top of the original file. Can be false (no banner), a String, or a Function<(string) -> String> that will be called with the filename where extracted comments have been stored. Will be wrapped into comment.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        extractComments: {
          condition: true,
          filename: (fileData) => {
            // The "fileData" argument contains object with "filename", "basename", "query" and "hash"
            return `${fileData.filename}.LICENSE.txt${fileData.query}`;
          },
          banner: (commentsFile) => {
            return `My custom banner about license information ${commentsFile}`;
          },
        },
      }),
    ],
  },
};

Examples

Preserve Comments

Extract all legal comments (i.e. /^\**!|@preserve|@license|@cc_on/i) and preserve /@license/i comments.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          format: {
            comments: /@license/i,
          },
        },
        extractComments: true,
      }),
    ],
  },
};

Remove Comments

If you avoid building with comments, use this config:

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          format: {
            comments: false,
          },
        },
        extractComments: false,
      }),
    ],
  },
};

uglify-js

UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        minify: TerserPlugin.uglifyJsMinify,
        // `terserOptions` options will be passed to `uglify-js`
        // Link to options - https://github.com/mishoo/UglifyJS#minify-options
        terserOptions: {},
      }),
    ],
  },
};

swc

swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.

Warning

the extractComments option is not supported and all comments will be removed by default, it will be fixed in future

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        minify: TerserPlugin.swcMinify,
        // `terserOptions` options will be passed to `swc` (`@swc/core`)
        // Link to options - https://swc.rs/docs/config-js-minify
        terserOptions: {},
      }),
    ],
  },
};

esbuild

esbuild is an extremely fast JavaScript bundler and minifier.

Warning

the extractComments option is not supported and all legal comments (i.e. copyright, licenses and etc) will be preserved

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        minify: TerserPlugin.esbuildMinify,
        // `terserOptions` options will be passed to `esbuild`
        // Link to options - https://esbuild.github.io/api/#minify
        // Note: the `minify` options is true by default (and override other `minify*` options), so if you want to disable the `minifyIdentifiers` option (or other `minify*` options) please use:
        // terserOptions: {
        //   minify: false,
        //   minifyWhitespace: true,
        //   minifyIdentifiers: false,
        //   minifySyntax: true,
        // },
        terserOptions: {},
      }),
    ],
  },
};

Custom Minify Function

Override default minify function - use uglify-js for minification.

webpack.config.js

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        minify: (file, sourceMap) => {
          // https://github.com/mishoo/UglifyJS2#minify-options
          const uglifyJsOptions = {
            /* your `uglify-js` package options */
          };

          if (sourceMap) {
            uglifyJsOptions.sourceMap = {
              content: sourceMap,
            };
          }

          return require("uglify-js").minify(file, uglifyJsOptions);
        },
      }),
    ],
  },
};

Typescript

With default terser minify function:

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin({
        terserOptions: {
          compress: true,
        },
      }),
    ],
  },
};

With built-in minify functions:

import type { JsMinifyOptions as SwcOptions } from "@swc/core";
import type { MinifyOptions as UglifyJSOptions } from "uglify-js";
import type { TransformOptions as EsbuildOptions } from "esbuild";
import type { MinifyOptions as TerserOptions } from "terser";

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new TerserPlugin<SwcOptions>({
        minify: TerserPlugin.swcMinify,
        terserOptions: {
          // `swc` options
        },
      }),
      new TerserPlugin<UglifyJSOptions>({
        minify: TerserPlugin.uglifyJsMinify,
        terserOptions: {
          // `uglif-js` options
        },
      }),
      new TerserPlugin<EsbuildOptions>({
        minify: TerserPlugin.esbuildMinify,
        terserOptions: {
          // `esbuild` options
        },
      }),

      // Alternative usage:
      new TerserPlugin<TerserOptions>({
        minify: TerserPlugin.terserMinify,
        terserOptions: {
          // `terser` options
        },
      }),
    ],
  },
};

Contributing

Please take a moment to read our contributing guidelines if you haven't yet done so.

CONTRIBUTING

License

MIT

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.3.11 (2024-12-13)

Bug Fixes

  • avoid the deprecation message (0341ad1)

5.3.10 (2023-12-28)

Bug Fixes

  • bump terser to the latest stable version (#587) (f650fa3)

5.3.9 (2023-05-17)

Bug Fixes

5.3.8 (2023-05-06)

Bug Fixes

5.3.7 (2023-03-08)

Bug Fixes

5.3.6 (2022-08-29)

Bug Fixes

  • allow disable compress options for terser and swc (#514) (52c1aef)

5.3.5 (2022-08-16)

Bug Fixes

5.3.4 (2022-08-12)

Bug Fixes

  • respect environment options for terser and swc compress options (#509) (29bbc3a)

5.3.3 (2022-06-02)

Fixes

  • fix broken release

5.3.2 (2022-06-02)

Chore

  • switched to @jridgewell/source-map for error generation

5.3.1 (2022-02-01)

Bug Fixes

  • use TerserECMA type to fix type mismatch (#471) (68920cd)

5.3.0 (2021-12-16)

Features

  • removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#463) (34fadde)

5.2.5 (2021-11-08)

Bug Fixes

  • output readable esbuild warnings (9431b32)

5.2.4 (2021-09-09)

Bug Fixes

5.2.3 (2021-09-03)

Bug Fixes

5.2.2 (2021-09-03)

Bug Fixes

  • types for optional dependencies have been removed in favor of the options provided by the developer (potential breaking change for types due invalid usage), please look at example (d7ea08f)

5.2.1 (2021-09-02)

Bug Fixes

5.2.0 (2021-08-31)

Notes

  • due terser-webpack-plugin has its own types now, @types/terser-webpack-plugin should be not used anymore, also @types/terser-webpack-plugin is not compatible and has wrong types

Features

5.1.4 (2021-06-25)

  • update serialize-javascript

5.1.3 (2021-05-31)

Chore

  • update jest-worker

5.1.2 (2021-05-12)

Bug Fixes

5.1.1 (2021-01-09)

Bug Fixes

5.1.0 (2021-01-08)

Features

  • optimize JS assets added later by plugins (#373) (fea6f20)

5.0.3 (2020-10-28)

Bug Fixes

5.0.2 (2020-10-27)

Bug Fixes

  • compatibility with the format option for terser (b944353)

5.0.1 (2020-10-23)

Bug Fixes

  • improved performance (we strongly recommend using latest LTS releases) (#345) (95f3418)
  • used worker_thread where is it possible (#344) (3c50404)
  • fixed terser options for es module (a12730f)

5.0.0 (2020-10-14)

⚠ BREAKING CHANGES

  • webpack@4 no longer supported
  • removed the cache option
  • removed the cacheKeys option
  • removed the sourceMap option (respect the devtool option by default)

Bug Fixes

  • reduce deps
  • performance improvement

4.2.3 (2020-10-07)

Bug Fixes

4.2.2 (2020-09-19)

Bug Fixes

4.2.1 (2020-09-15)

Bug Fixes

4.2.0 (2020-09-11)

Features

Bug Fixes

4.1.0 (2020-08-10)

Features

  • pass license files as related assets for webpack@5 (7d3ae95)

Bug Fixes

  • compatibility with 10.13 version of Node.js

4.0.0 (2020-08-04)

⚠ BREAKING CHANGES

  • the warningsFilter option was removed without replacement,
  • terser version is 5,
  • return value of the minify option was changed, only code/map/extractedComments are valid

Features

  • improved compatibility with webpack@5

3.1.0 (2020-08-03)

Features

  • show minimized assets in stats for webpack@5 (#289) (d59eae2)

Bug Fixes

  • compatibility cache feature with webpack@5 (5d2bd29)
  • skip double compression for child compilation (37cc813)

3.0.8 (2020-07-27)

Bug Fixes

  • compatibility with child compilations (9da4add)

3.0.7 (2020-07-16)

Bug Fixes

  • uglify additional assets (100e38e)

3.0.6 (2020-06-18)

Bug Fixes

  • do not crash on buffer assets (3c67023)

3.0.5 (2020-06-15)

Bug Fixes

3.0.4 (2020-06-13)

Chore

  • update p-limit and serialize-javascript packages

3.0.3 (2020-06-03)

Bug Fixes

  • compatibility with >= 10.13 versions of Node.js
  • security problem (#259) (522aa2c)

3.0.2 (2020-05-26)

Bug Fixes

3.0.1 (2020-05-06)

Bug Fixes

  • parallelism in multi compilation mode (0ee7ed2)
  • remove redundant code for the chunkFilter option (#243) (7220734)

3.0.0 (2020-05-01)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 10.13
  • the chunkFilter was removed, please use test/include/exclude options
  • change arguments order for the warningFilter option from Function<(warning, file, source) -> Boolean> to Function<(file, warning, source) -> Boolean>
  • when the extractComments.filename option is a function it pass only one argument and it is object with filename, basename, query and hash properties
  • if the value from the extractComments.filename option conflicts with existing assets, an error will be thrown instead of a warning
  • use the optimizeAssets hook for webpack@5

2.3.6 (2020-04-25)

Bug Fixes

  • preserve @license comments starting with // (d3f0c81)

2.3.5 (2020-02-14)

Bug Fixes

  • do not break code with shebang (fac58cb)

2.3.4 (2020-01-30)

Bug Fixes

  • respect stdout and stderr of workers and do not create warnings (#215) (5708574)
  • use webpack hash options rather than hard-code MD4 (#213) (330c1f6)

2.3.3 (2020-01-28)

Bug Fixes

  • license files now have .txt suffix by default (#210) (de02f7b)
  • reduce memory usage (abfd950)

2.3.2 (2020-01-09)

Bug Fixes

2.3.1 (2019-12-17)

Bug Fixes

2.3.0 (2019-12-12)

Features

  • support webpack@5 cache (3649b3d)

2.2.3 (2019-12-11)

SECURITY

  • update serialize-javascript to 2.1.2 version.

2.2.2 (2019-12-06)

SECURITY

  • update serialize-javascript to 2.1.1 version.

2.2.1 (2019-10-22)

Bug Fixes

  • get rid deprecation warnings for webpack@5 (#181) (0e9b780)

2.2.0 (2019-10-22)

Features

  • map webpack@5 options to terser options (#177) (f4c47aa)
  • pass an asset path for the warningsFilter option (#176) (9a0a575)
  • propagate an error stacktrace from terser (#179) (a11e66b)
  • enable the sourceMap option when the SourceMapDevToolPlugin plugin used (non cheap) (#178) (d01c1b5)

Bug Fixes

  • get rid deprecation warnings for webpack@5 (#180) (504ea8b)

2.1.3 (2019-10-10)

Bug Fixes

  • invalidate cache when a file name was changed (#171) (7e1d370)

2.1.2 (2019-09-28)

Bug Fixes

2.1.1 (2019-09-27)

Bug Fixes

  • logic for extracting and preserving comments (#166) (6bdee64)

2.1.0 (2019-09-16)

Bug Fixes

  • correct interpretation url for extracted comment file (#157) (aba8ba7)

Features

  • emit warning when comment file conlict with an existing asset (#156) (2b4d2a4)
  • improve naming of extracted file with comments (#154) (5fe3337)

2.0.1 (2019-09-06)

Bug Fixes

  • reduce memory usage (#145) (815e533)
  • revert do not run parallel mode when you have only one file (#146) (6613a97)

2.0.0 (2019-09-05)

⚠ BREAKING CHANGES

  • minimum require Node.js version is 8.9.0
  • the extractComments option is true by default
  • the cache option is true by default
  • the parallel option is true by default
  • using the extractComments.condition option with true value extract only some comments
  • the sourceMap option now defaults to depending on the devtool Webpack option

Bug Fixes

Features

  • enable the cache option by default (#132) (960d249)
  • enable the extractComments option by default (ad2471c)
  • enable the parallel option by default (#131) (7b342af)
  • respect devtool values for source map generation (#140) (dd37ca1)

1.4.1 (2019-07-31)

Bug Fixes

1.4.0 (2019-07-31)

Features

1.3.0 (2019-05-24)

Features

1.2.4 (2019-05-15)

Bug Fixes

1.2.3 (2019-02-25)

Bug Fixes

  • invalidate cache after changing node version (675edfd)

1.2.2 (2019-02-04)

Bug Fixes

  • cannot read property 'minify' of undefined (#69) (0593d7c)

1.2.1 (2018-12-27)

Bug Fixes

  • don't crash when no extracted comments (#49) (efad586)

1.2.0 (2018-12-22)

Bug Fixes

Features

1.1.0 (2018-09-14)

Bug Fixes

  • extract comment conditions is case insensitivity (19e1e43)

Features

  • full coverage schema options validation (#8) (68e531e)

1.0.2 (2018-08-16)

Internal

  • migrate from @webpack-contrib/schema-utils to schema-utils (a5432da)

1.0.1 (2018-08-15)

Bug Fixes

  • cpus length in a chroot environment (os.cpus()) (#4) (9375646)

1.0.0 (2018-08-02)

Initial publish release

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.