File tree 2 files changed +97
-21
lines changed 2 files changed +97
-21
lines changed Original file line number Diff line number Diff line change 3
3
"definitions" : {
4
4
"ImportItemString" : {
5
5
"type" : " string" ,
6
- "minLength" : 1
6
+ "minLength" : 1 ,
7
+ "description" : " Allows to use a string to describe an import." ,
8
+ "link" : " https://webpack.js.org/loaders/imports-loader/#string"
7
9
},
8
10
"ImportItemObject" : {
9
11
"type" : " object" ,
10
12
"additionalProperties" : false ,
13
+ "description" : " Allows to use an object to describe an import." ,
14
+ "link" : " https://webpack.js.org/loaders/imports-loader/#object" ,
11
15
"properties" : {
12
16
"syntax" : {
13
17
"enum" : [
47
51
}
48
52
},
49
53
"type" : " object" ,
54
+ "description" : " Options for imports-loader" ,
50
55
"properties" : {
51
56
"type" : {
52
- "enum" : [" module" , " commonjs" ]
57
+ "enum" : [" module" , " commonjs" ],
58
+ "description" : " Format of generated exports." ,
59
+ "link" : " https://github.com/webpack-contrib/imports-loader#type"
53
60
},
54
61
"imports" : {
55
62
"anyOf" : [
56
63
{
57
- "type" : " string" ,
58
- "minLength" : 1
64
+ "$ref" : " #/definitions/ImportItemString"
59
65
},
60
66
{
61
67
"$ref" : " #/definitions/ImportItem"
105
111
},
106
112
"required" : [" thisArg" ]
107
113
}
108
- ]
114
+ ],
115
+ "description" : " Closes the module code in a function with a given 'thisArg' and 'args'" ,
116
+ "link" : " https://webpack.js.org/loaders/imports-loader/#wrapper"
109
117
},
110
118
"additionalCode" : {
111
119
"type" : " string" ,
112
- "minLength" : 1
120
+ "minLength" : 1 ,
121
+ "description" : " Adds custom code as a preamble before the module's code." ,
122
+ "link" : " https://webpack.js.org/loaders/imports-loader/#additionalcode"
113
123
}
114
124
},
115
125
"anyOf" : [
You can’t perform that action at this time.
0 commit comments