source: frontend/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.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: 4.9 KB
RevLine 
[9af201e]1{
2 "definitions": {
3 "rule": {
4 "description": "Condition used to match resource (string, RegExp or Function).",
5 "anyOf": [
6 {
7 "instanceof": "RegExp",
8 "tsType": "RegExp"
9 },
10 {
11 "type": "string",
12 "minLength": 1
13 },
14 {
15 "instanceof": "Function",
16 "tsType": "import('../../lib/ModuleFilenameHelpers').MatcherFn"
17 }
18 ]
19 },
20 "rules": {
21 "description": "One or multiple conditions used to match resource.",
22 "anyOf": [
23 {
24 "type": "array",
25 "items": {
26 "description": "A rule condition.",
27 "oneOf": [
28 {
29 "$ref": "#/definitions/rule"
30 }
31 ]
32 }
33 },
34 {
35 "$ref": "#/definitions/rule"
36 }
37 ]
38 }
39 },
40 "title": "SourceMapDevToolPluginOptions",
41 "type": "object",
42 "additionalProperties": false,
43 "properties": {
44 "append": {
45 "description": "Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.",
46 "anyOf": [
47 {
48 "description": "Append no SourceMap comment to the bundle, but still generate SourceMaps.",
49 "enum": [false, null]
50 },
51 {
52 "type": "string",
53 "minLength": 1
54 },
55 {
56 "instanceof": "Function",
57 "tsType": "import('../../lib/TemplatedPathPlugin').TemplatePathFn"
58 }
59 ]
60 },
61 "columns": {
62 "description": "Indicates whether column mappings should be used (defaults to true).",
63 "type": "boolean"
64 },
65 "debugIds": {
66 "description": "Emit debug IDs into source and SourceMap.",
67 "type": "boolean"
68 },
69 "exclude": {
70 "description": "Exclude modules that match the given value from source map generation.",
71 "oneOf": [
72 {
73 "$ref": "#/definitions/rules"
74 }
75 ]
76 },
77 "fallbackModuleFilenameTemplate": {
78 "description": "Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap used only if 'moduleFilenameTemplate' would result in a conflict.",
79 "anyOf": [
80 {
81 "type": "string",
82 "minLength": 1
83 },
84 {
85 "description": "Custom function generating the identifier.",
86 "instanceof": "Function",
87 "tsType": "import('../../lib/ModuleFilenameHelpers').ModuleFilenameTemplateFunction"
88 }
89 ]
90 },
91 "fileContext": {
92 "description": "Path prefix to which the [file] placeholder is relative to.",
93 "type": "string"
94 },
95 "filename": {
96 "description": "Defines the output filename of the SourceMap (will be inlined if no value is provided).",
97 "anyOf": [
98 {
99 "description": "Disable separate SourceMap file and inline SourceMap as DataUrl.",
100 "enum": [false, null]
101 },
102 {
103 "type": "string",
104 "absolutePath": false,
105 "minLength": 1
106 }
107 ]
108 },
109 "ignoreList": {
110 "description": "Decide whether to ignore source files that match the specified value in the SourceMap.",
111 "oneOf": [
112 {
113 "$ref": "#/definitions/rules"
114 }
115 ]
116 },
117 "include": {
118 "description": "Include source maps for module paths that match the given value.",
119 "oneOf": [
120 {
121 "$ref": "#/definitions/rules"
122 }
123 ]
124 },
125 "module": {
126 "description": "Indicates whether SourceMaps from loaders should be used (defaults to true).",
127 "type": "boolean"
128 },
129 "moduleFilenameTemplate": {
130 "description": "Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap.",
131 "anyOf": [
132 {
133 "type": "string",
134 "minLength": 1
135 },
136 {
137 "description": "Custom function generating the identifier.",
138 "instanceof": "Function",
139 "tsType": "import('../../lib/ModuleFilenameHelpers').ModuleFilenameTemplateFunction"
140 }
141 ]
142 },
143 "namespace": {
144 "description": "Namespace prefix to allow multiple webpack roots in the devtools.",
145 "type": "string"
146 },
147 "noSources": {
148 "description": "Omit the 'sourceContents' array from the SourceMap.",
149 "type": "boolean"
150 },
151 "publicPath": {
152 "description": "Provide a custom public path for the SourceMapping comment.",
153 "type": "string"
154 },
155 "sourceRoot": {
156 "description": "Provide a custom value for the 'sourceRoot' property in the SourceMap.",
157 "type": "string"
158 },
159 "test": {
160 "description": "Include source maps for modules based on their extension (defaults to .js and .css).",
161 "oneOf": [
162 {
163 "$ref": "#/definitions/rules"
164 }
165 ]
166 }
167 }
168}
Note: See TracBrowser for help on using the repository browser.