@bazel/terser
Advanced tools
Comparing version 0.39.1 to 0.40.0
@@ -8,3 +8,3 @@ { | ||
"license": "Apache-2.0", | ||
"version": "0.39.1", | ||
"version": "0.40.0", | ||
"repository": { | ||
@@ -11,0 +11,0 @@ "type" : "git", |
@@ -65,3 +65,3 @@ # Terser rules for Bazel | ||
``` | ||
terser_minified(name, config_file, debug, sourcemap, src, terser_bin) | ||
terser_minified(name, args, config_file, debug, sourcemap, src, terser_bin) | ||
``` | ||
@@ -75,2 +75,10 @@ | ||
#### `args` | ||
(*List of strings*): Additional command line arguments to pass to terser. | ||
Terser only parses minify() args from the config file so additional arguments such as `--comments` may | ||
be passed to the rule using this attribute. See https://github.com/terser/terser#command-line-usage for the | ||
full list of terser CLI options. | ||
#### `config_file` | ||
@@ -77,0 +85,0 @@ (*[label]*): A JSON file containing Terser minify() options. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31485
135