source: trip-planner-front/node_modules/terser-webpack-plugin/dist/options.json@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 3.3 KB
Line 
1{
2 "definitions": {
3 "Rule": {
4 "description": "Filtering rule as regex or string.",
5 "anyOf": [
6 {
7 "instanceof": "RegExp",
8 "tsType": "RegExp"
9 },
10 {
11 "type": "string",
12 "minLength": 1
13 }
14 ]
15 },
16 "Rules": {
17 "description": "Filtering rules.",
18 "anyOf": [
19 {
20 "type": "array",
21 "items": {
22 "description": "A rule condition.",
23 "oneOf": [
24 {
25 "$ref": "#/definitions/Rule"
26 }
27 ]
28 }
29 },
30 {
31 "$ref": "#/definitions/Rule"
32 }
33 ]
34 }
35 },
36 "title": "TerserPluginOptions",
37 "type": "object",
38 "additionalProperties": false,
39 "properties": {
40 "test": {
41 "description": "Include all modules that pass test assertion.",
42 "oneOf": [
43 {
44 "$ref": "#/definitions/Rules"
45 }
46 ]
47 },
48 "include": {
49 "description": "Include all modules matching any of these conditions.",
50 "oneOf": [
51 {
52 "$ref": "#/definitions/Rules"
53 }
54 ]
55 },
56 "exclude": {
57 "description": "Exclude all modules matching any of these conditions.",
58 "oneOf": [
59 {
60 "$ref": "#/definitions/Rules"
61 }
62 ]
63 },
64 "terserOptions": {
65 "description": "Options for `terser`.",
66 "additionalProperties": true,
67 "type": "object"
68 },
69 "extractComments": {
70 "description": "Whether comments shall be extracted to a separate file.",
71 "anyOf": [
72 {
73 "type": "boolean"
74 },
75 {
76 "type": "string",
77 "minLength": 1
78 },
79 {
80 "instanceof": "RegExp"
81 },
82 {
83 "instanceof": "Function"
84 },
85 {
86 "additionalProperties": false,
87 "properties": {
88 "condition": {
89 "anyOf": [
90 {
91 "type": "boolean"
92 },
93 {
94 "type": "string",
95 "minLength": 1
96 },
97 {
98 "instanceof": "RegExp"
99 },
100 {
101 "instanceof": "Function"
102 }
103 ]
104 },
105 "filename": {
106 "anyOf": [
107 {
108 "type": "string",
109 "minLength": 1
110 },
111 {
112 "instanceof": "Function"
113 }
114 ]
115 },
116 "banner": {
117 "anyOf": [
118 {
119 "type": "boolean"
120 },
121 {
122 "type": "string",
123 "minLength": 1
124 },
125 {
126 "instanceof": "Function"
127 }
128 ]
129 }
130 },
131 "type": "object"
132 }
133 ]
134 },
135 "parallel": {
136 "description": "Use multi-process parallel running to improve the build speed.",
137 "anyOf": [
138 {
139 "type": "boolean"
140 },
141 {
142 "type": "integer"
143 }
144 ]
145 },
146 "minify": {
147 "description": "Allows you to override default minify function.",
148 "instanceof": "Function"
149 }
150 }
151}
Note: See TracBrowser for help on using the repository browser.