Skip to content

Commit e1ab8d0

Browse files
authored
docs(readme): terser-js to terser org rename (#450)
1 parent 4cc867f commit e1ab8d0

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# terser-webpack-plugin
1616

17-
This plugin uses [terser](https://github.com/terser-js/terser) to minify/minimize your JavaScript.
17+
This plugin uses [terser](https://github.com/terser/terser) to minify/minimize your JavaScript.
1818

1919
## Getting Started
2020

@@ -56,15 +56,15 @@ Using supported `devtool` values enable source map generation.
5656

5757
## Options
5858

59-
| Name | Type | Default | Description |
60-
| :---------------------------------------: | :-----------------------------------------------------------------------------: | :-------------------------------------------------------------: | :--------------------------------------------------------------------------- |
61-
| **[`test`](#test)** | `String\|RegExp\|Array<String\|RegExp>` | `/\.m?js(\?.*)?$/i` | Test to match files against. |
62-
| **[`include`](#include)** | `String\|RegExp\|Array<String\|RegExp>` | `undefined` | Files to include. |
63-
| **[`exclude`](#exclude)** | `String\|RegExp\|Array<String\|RegExp>` | `undefined` | Files to exclude. |
64-
| **[`parallel`](#parallel)** | `Boolean\|Number` | `true` | Use multi-process parallel running to improve the build speed. |
65-
| **[`minify`](#minify)** | `Function` | `TerserPlugin.terserMinify` | Allows you to override default minify function. |
66-
| **[`terserOptions`](#terseroptions)** | `Object` | [`default`](https://github.com/terser-js/terser#minify-options) | Terser [minify options](https://github.com/terser-js/terser#minify-options). |
67-
| **[`extractComments`](#extractcomments)** | `Boolean\|String\|RegExp\|Function<(node, comment) -> Boolean\|Object>\|Object` | `true` | Whether comments shall be extracted to a separate file. |
59+
| Name | Type | Default | Description |
60+
| :---------------------------------------: | :-----------------------------------------------------------------------------: | :----------------------------------------------------------: | :------------------------------------------------------------------------ |
61+
| **[`test`](#test)** | `String\|RegExp\|Array<String\|RegExp>` | `/\.m?js(\?.*)?$/i` | Test to match files against. |
62+
| **[`include`](#include)** | `String\|RegExp\|Array<String\|RegExp>` | `undefined` | Files to include. |
63+
| **[`exclude`](#exclude)** | `String\|RegExp\|Array<String\|RegExp>` | `undefined` | Files to exclude. |
64+
| **[`parallel`](#parallel)** | `Boolean\|Number` | `true` | Use multi-process parallel running to improve the build speed. |
65+
| **[`minify`](#minify)** | `Function` | `TerserPlugin.terserMinify` | Allows you to override default minify function. |
66+
| **[`terserOptions`](#terseroptions)** | `Object` | [`default`](https://github.com/terser/terser#minify-options) | Terser [minify options](https://github.com/terser/terser#minify-options). |
67+
| **[`extractComments`](#extractcomments)** | `Boolean\|String\|RegExp\|Function<(node, comment) -> Boolean\|Object>\|Object` | `true` | Whether comments shall be extracted to a separate file. |
6868

6969
### `test`
7070

@@ -188,7 +188,7 @@ Type: `Function`
188188
Default: `TerserPlugin.terserMinify`
189189

190190
Allows you to override default minify function.
191-
By default plugin uses [terser](https://github.com/terser-js/terser) package.
191+
By default plugin uses [terser](https://github.com/terser/terser) package.
192192
Useful for using and testing unpublished versions or forks.
193193

194194
> ⚠️ **Always use `require` inside `minify` function when `parallel` option enabled**.
@@ -245,9 +245,9 @@ module.exports = {
245245
### `terserOptions`
246246

247247
Type: `Object`
248-
Default: [default](https://github.com/terser-js/terser#minify-options)
248+
Default: [default](https://github.com/terser/terser#minify-options)
249249

250-
Terser [options](https://github.com/terser-js/terser#minify-options).
250+
Terser [options](https://github.com/terser/terser#minify-options).
251251

252252
**webpack.config.js**
253253

0 commit comments

Comments
 (0)