aboutsummaryrefslogtreecommitdiff
path: root/node_modules/uglifyjs-webpack-plugin/dist/options.json
blob: f9ee3860a67c8eced630db990a09d54b4c63ccba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
  "type": "object",
  "properties": {
    "test": {},
    "include": {},
    "exclude": {},
    "cache": {
      "oneOf": [
        { "type": "boolean" },
        { "type": "string" }
      ]
    },
    "cacheKeys": {
      "instanceof": "Function"
    },
    "parallel": {
      "oneOf": [
        { "type": "boolean" },
        { "type": "integer" }
      ]
    },
    "sourceMap": {
      "type": "boolean"
    },
    "minify": {
      "instanceof": "Function"
    },
    "uglifyOptions": {
      "additionalProperties": true,
      "type": "object",
      "properties": {
        "ecma": {
          "type": "integer",
          "minimum": 5,
          "maximum": 8
        },
        "warnings": {
          "type": ["boolean", "string"],
          "enum": [true, false, "verbose"]
        },
        "ie8": {
          "type": "boolean"
        },
        "parse": {
          "type": "object"
        },
        "compress": {
          "type": ["boolean", "object"]
        },
        "mangle": {
          "type": ["boolean", "object"],
          "properties": {
            "properties": {
              "type": ["boolean", "object"]
            }
          }
        },
        "output": {
          "type": ["object", "null"]
        },
        "toplevel": {
          "type": "boolean"
        },
        "nameCache": {
          "type": ["object", "null"]
        }
      }
    },
    "extractComments": {},
    "warningsFilter": {}
  },
  "additionalProperties": false
}