2
2
3
3
exports [` validate options should throw an error on the "exposes" option with "" value 1` ] = `
4
4
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
5
- - options.exposes should be an non-empty string."
5
+ - options.exposes should be a non-empty string."
6
6
` ;
7
7
8
8
exports [` validate options should throw an error on the "exposes" option with "/test/" value 1` ] = `
9
9
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
10
10
- options.exposes misses the property 'globalName'. Should be:
11
11
non-empty string | [non-empty string, ...] (should not have fewer than 1 item)
12
- -> The name in the global object."
12
+ -> The name in the global object.
13
+ -> Read more at https://github.com/webpack-contrib/expose-loader#globalname"
13
14
` ;
14
15
15
16
exports [` validate options should throw an error on the "exposes" option with "[""]" value 1` ] = `
16
17
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
17
- - options.exposes[0] should be an non-empty string."
18
+ - options.exposes[0] should be a non-empty string."
18
19
` ;
19
20
20
21
exports [` validate options should throw an error on the "exposes" option with "[]" value 1` ] = `
21
22
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
22
- - options.exposes should be an non-empty array."
23
+ - options.exposes should be a non-empty array."
23
24
` ;
24
25
25
26
exports [` validate options should throw an error on the "exposes" option with "{ " globalName" :true } " value 1` ] = `
26
27
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
27
28
- options.exposes should be one of these:
28
29
non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
29
30
- > List of exposes .
31
+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes
30
32
Details :
31
33
* options .exposes .globalName should be one of these :
32
34
non - empty string | [non - empty string , ... ] (should not have fewer than 1 item )
33
35
- > The name in the global object .
36
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#globalname
34
37
Details :
35
38
* options .exposes .globalName should be a non - empty string .
36
39
* options .exposes .globalName should be an array :
@@ -46,21 +49,24 @@ exports[`validate options should throw an error on the "exposes" option with "{"
46
49
exports [` validate options should throw an error on the "exposes" option with "{ " override" :" test" } " value 1` ] = `
47
50
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
48
51
- options.exposes.override should be a boolean.
49
- -> Configure loader to override the existing value in the global object."
52
+ -> Configure loader to override the existing value in the global object.
53
+ -> Read more at https://github.com/webpack-contrib/expose-loader#override"
50
54
` ;
51
55
52
56
exports [` validate options should throw an error on the "exposes" option with "{ } " value 1` ] = `
53
57
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
54
58
- options.exposes misses the property 'globalName'. Should be:
55
59
non-empty string | [non-empty string, ...] (should not have fewer than 1 item)
56
- -> The name in the global object."
60
+ -> The name in the global object.
61
+ -> Read more at https://github.com/webpack-contrib/expose-loader#globalname"
57
62
` ;
58
63
59
64
exports [` validate options should throw an error on the "exposes" option with "false" value 1` ] = `
60
65
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
61
66
- options.exposes should be one of these:
62
67
non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
63
68
- > List of exposes .
69
+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes
64
70
Details :
65
71
* options .exposes should be a non - empty string .
66
72
* options .exposes should be an object :
@@ -74,6 +80,7 @@ exports[`validate options should throw an error on the "exposes" option with "tr
74
80
- options.exposes should be one of these:
75
81
non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
76
82
- > List of exposes .
83
+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes
77
84
Details :
78
85
* options .exposes should be a non - empty string .
79
86
* options .exposes should be an object :
@@ -86,54 +93,62 @@ exports[`validate options should throw an error on the "unknown" option with "/t
86
93
"Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
87
94
- options misses the property 'exposes'. Should be:
88
95
non-empty string | object { globalName , moduleLocalName ? , override ? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
89
- - > List of exposes ."
96
+ - > List of exposes .
97
+ - > Read more at https : // github.com/webpack-contrib/expose-loader#exposes"
90
98
` ;
91
99
92
100
exports[` validate options should throw an error on the " unknown" option with " []" value 1 ` ] = `
93
101
" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
94
102
- options misses the property ' exposes' . Should be :
95
103
non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
96
- - > List of exposes ."
104
+ - > List of exposes .
105
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
97
106
` ;
98
107
99
108
exports[` validate options should throw an error on the " unknown" option with " {" foo " :" bar " }" value 1 ` ] = `
100
109
" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
101
110
- options misses the property ' exposes' . Should be :
102
111
non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
103
- - > List of exposes ."
112
+ - > List of exposes .
113
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
104
114
` ;
105
115
106
116
exports[` validate options should throw an error on the " unknown" option with " {}" value 1 ` ] = `
107
117
" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
108
118
- options misses the property ' exposes' . Should be :
109
119
non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
110
- - > List of exposes ."
120
+ - > List of exposes .
121
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
111
122
` ;
112
123
113
124
exports[` validate options should throw an error on the " unknown" option with " 1" value 1 ` ] = `
114
125
" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
115
126
- options misses the property ' exposes' . Should be :
116
127
non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
117
- - > List of exposes ."
128
+ - > List of exposes .
129
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
118
130
` ;
119
131
120
132
exports[` validate options should throw an error on the " unknown" option with " false" value 1 ` ] = `
121
133
" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
122
134
- options misses the property ' exposes' . Should be :
123
135
non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
124
- - > List of exposes ."
136
+ - > List of exposes .
137
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
125
138
` ;
126
139
127
140
exports[` validate options should throw an error on the " unknown" option with " test" value 1 ` ] = `
128
141
" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
129
142
- options misses the property ' exposes' . Should be :
130
143
non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
131
- - > List of exposes ."
144
+ - > List of exposes .
145
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
132
146
` ;
133
147
134
148
exports[` validate options should throw an error on the " unknown" option with " true" value 1 ` ] = `
135
149
" Invalid options object. Expose Loader has been initialized using an options object that does not match the API schema.
136
150
- options misses the property ' exposes' . Should be :
137
151
non - empty string | object { globalName , moduleLocalName?, override? } | [non - empty string | object { globalName , moduleLocalName?, override? }, ... ] (should not have fewer than 1 item )
138
- - > List of exposes ."
152
+ - > List of exposes .
153
+ - > Read more at https :// github.com/webpack-contrib/expose-loader#exposes"
139
154
` ;
0 commit comments