source: imaps-frontend/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 4.4 KB
Line 
1{
2 "definitions": {
3 "rule": {
4 "description": "Include source maps for modules based on their extension (defaults to .js and .css).",
5 "anyOf": [
6 {
7 "instanceof": "RegExp",
8 "tsType": "RegExp"
9 },
10 {
11 "type": "string",
12 "minLength": 1
13 }
14 ]
15 },
16 "rules": {
17 "description": "Include source maps for modules based on their extension (defaults to .js and .css).",
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": "SourceMapDevToolPluginOptions",
37 "type": "object",
38 "additionalProperties": false,
39 "properties": {
40 "append": {
41 "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.",
42 "anyOf": [
43 {
44 "description": "Append no SourceMap comment to the bundle, but still generate SourceMaps.",
45 "enum": [false, null]
46 },
47 {
48 "type": "string",
49 "minLength": 1
50 },
51 {
52 "instanceof": "Function",
53 "tsType": "((pathData: import(\"../../lib/Compilation\").PathData, assetInfo?: import(\"../../lib/Compilation\").AssetInfo) => string)"
54 }
55 ]
56 },
57 "columns": {
58 "description": "Indicates whether column mappings should be used (defaults to true).",
59 "type": "boolean"
60 },
61 "debugIds": {
62 "description": "Emit debug IDs into source and SourceMap.",
63 "type": "boolean"
64 },
65 "exclude": {
66 "description": "Exclude modules that match the given value from source map generation.",
67 "oneOf": [
68 {
69 "$ref": "#/definitions/rules"
70 }
71 ]
72 },
73 "fallbackModuleFilenameTemplate": {
74 "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.",
75 "anyOf": [
76 {
77 "type": "string",
78 "minLength": 1
79 },
80 {
81 "description": "Custom function generating the identifier.",
82 "instanceof": "Function",
83 "tsType": "Function"
84 }
85 ]
86 },
87 "fileContext": {
88 "description": "Path prefix to which the [file] placeholder is relative to.",
89 "type": "string"
90 },
91 "filename": {
92 "description": "Defines the output filename of the SourceMap (will be inlined if no value is provided).",
93 "anyOf": [
94 {
95 "description": "Disable separate SourceMap file and inline SourceMap as DataUrl.",
96 "enum": [false, null]
97 },
98 {
99 "type": "string",
100 "absolutePath": false,
101 "minLength": 1
102 }
103 ]
104 },
105 "include": {
106 "description": "Include source maps for module paths that match the given value.",
107 "oneOf": [
108 {
109 "$ref": "#/definitions/rules"
110 }
111 ]
112 },
113 "module": {
114 "description": "Indicates whether SourceMaps from loaders should be used (defaults to true).",
115 "type": "boolean"
116 },
117 "moduleFilenameTemplate": {
118 "description": "Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap.",
119 "anyOf": [
120 {
121 "type": "string",
122 "minLength": 1
123 },
124 {
125 "description": "Custom function generating the identifier.",
126 "instanceof": "Function",
127 "tsType": "Function"
128 }
129 ]
130 },
131 "namespace": {
132 "description": "Namespace prefix to allow multiple webpack roots in the devtools.",
133 "type": "string"
134 },
135 "noSources": {
136 "description": "Omit the 'sourceContents' array from the SourceMap.",
137 "type": "boolean"
138 },
139 "publicPath": {
140 "description": "Provide a custom public path for the SourceMapping comment.",
141 "type": "string"
142 },
143 "sourceRoot": {
144 "description": "Provide a custom value for the 'sourceRoot' property in the SourceMap.",
145 "type": "string"
146 },
147 "test": {
148 "$ref": "#/definitions/rules"
149 }
150 }
151}
Note: See TracBrowser for help on using the repository browser.