source: frontend/node_modules/webpack/schemas/plugins/BannerPlugin.json

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[9af201e]1{
2 "definitions": {
3 "BannerFunction": {
4 "description": "The banner as function, it will be wrapped in a comment.",
5 "instanceof": "Function",
6 "tsType": "import('../../lib/BannerPlugin').BannerFunction"
7 },
8 "Rule": {
9 "description": "Filtering rule as regex or string.",
10 "anyOf": [
11 {
12 "instanceof": "RegExp",
13 "tsType": "RegExp"
14 },
15 {
16 "type": "string",
17 "minLength": 1
18 },
19 {
20 "instanceof": "Function",
21 "tsType": "import('../../lib/ModuleFilenameHelpers').MatcherFn"
22 }
23 ]
24 },
25 "Rules": {
26 "description": "Filtering rules.",
27 "anyOf": [
28 {
29 "type": "array",
30 "items": {
31 "description": "A rule condition.",
32 "oneOf": [
33 {
34 "$ref": "#/definitions/Rule"
35 }
36 ]
37 }
38 },
39 {
40 "$ref": "#/definitions/Rule"
41 }
42 ]
43 }
44 },
45 "title": "BannerPluginArgument",
46 "anyOf": [
47 {
48 "description": "The banner as string, it will be wrapped in a comment.",
49 "type": "string",
50 "minLength": 1
51 },
52 {
53 "title": "BannerPluginOptions",
54 "type": "object",
55 "additionalProperties": false,
56 "properties": {
57 "banner": {
58 "description": "Specifies the banner.",
59 "anyOf": [
60 {
61 "type": "string"
62 },
63 {
64 "$ref": "#/definitions/BannerFunction"
65 }
66 ]
67 },
68 "entryOnly": {
69 "description": "If true, the banner will only be added to the entry chunks.",
70 "type": "boolean"
71 },
72 "exclude": {
73 "description": "Exclude all modules matching any of these conditions.",
74 "oneOf": [
75 {
76 "$ref": "#/definitions/Rules"
77 }
78 ]
79 },
80 "footer": {
81 "description": "If true, banner will be placed at the end of the output.",
82 "type": "boolean"
83 },
84 "include": {
85 "description": "Include all modules matching any of these conditions.",
86 "oneOf": [
87 {
88 "$ref": "#/definitions/Rules"
89 }
90 ]
91 },
92 "raw": {
93 "description": "If true, banner will not be wrapped in a comment.",
94 "type": "boolean"
95 },
96 "stage": {
97 "description": "Specifies the stage when add a banner.",
98 "type": "number"
99 },
100 "test": {
101 "description": "Include all modules that pass test assertion.",
102 "oneOf": [
103 {
104 "$ref": "#/definitions/Rules"
105 }
106 ]
107 }
108 },
109 "required": ["banner"]
110 },
111 {
112 "$ref": "#/definitions/BannerFunction"
113 }
114 ]
115}
Note: See TracBrowser for help on using the repository browser.