@@ -4,27 +4,31 @@ exports[`validate options should throw an error on the "attributes" option with
4
4
"Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
5
5
- options.attributes should be an object:
6
6
object { … }
7
- -> Adds custom attributes to tag (https://github.com/webpack-contrib/style-loader#attributes)."
7
+ -> Adds custom attributes to tag.
8
+ -> Read more at https://github.com/webpack-contrib/style-loader#attributes"
8
9
` ;
9
10
10
11
exports [` validate options should throw an error on the "esModule" option with "true" value 1` ] = `
11
12
"Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
12
13
- options.esModule should be a boolean.
13
- -> Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule)."
14
+ -> Use the ES modules syntax.
15
+ -> Read more at https://github.com/webpack-contrib/css-loader#esmodule"
14
16
` ;
15
17
16
18
exports [` validate options should throw an error on the "injectType" option with "unknown" value 1` ] = `
17
19
"Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
18
20
- options.injectType should be one of these:
19
21
\\ "styleTag\\ " | \\ "singletonStyleTag\\ " | \\ "autoStyleTag\\ " | \\ "lazyStyleTag\\ " | \\ "lazySingletonStyleTag\\ " | \\ "lazyAutoStyleTag\\ " | \\ "linkTag\\ "
20
- -> Allows to setup how styles will be injected into DOM (https://github.com/webpack-contrib/style-loader#injecttype)."
22
+ -> Allows to setup how styles will be injected into DOM.
23
+ -> Read more at https://github.com/webpack-contrib/style-loader#injecttype"
21
24
` ;
22
25
23
26
exports [` validate options should throw an error on the "insert" option with "true" value 1` ] = `
24
27
"Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
25
28
- options.insert should be one of these:
26
29
string | function
27
- -> Inserts \` <style >\`/\`<link >\` at the given position (https://github.com/webpack-contrib/style-loader#insert).
30
+ -> Inserts \` <style >\`/\`<link >\` at the given position.
31
+ -> Read more at https://github.com/webpack-contrib/style-loader#insert
28
32
Details:
29
33
* options.insert should be a string.
30
34
* options.insert should be an instance of function."
@@ -35,6 +39,7 @@ exports[`validate options should throw an error on the "styleTagTransform" optio
35
39
- options.styleTagTransform should be one of these:
36
40
string | function
37
41
-> Transform tag and css when insert 'style' tag into the DOM
42
+ -> Read more at https://github.com/webpack-contrib/style-loader#styleTagTransform
38
43
Details:
39
44
* options.styleTagTransform should be a string.
40
45
* options.styleTagTransform should be an instance of function."
@@ -45,6 +50,7 @@ exports[`validate options should throw an error on the "styleTagTransform" optio
45
50
- options.styleTagTransform should be one of these:
46
51
string | function
47
52
-> Transform tag and css when insert 'style' tag into the DOM
53
+ -> Read more at https://github.com/webpack-contrib/style-loader#styleTagTransform
48
54
Details:
49
55
* options.styleTagTransform should be a string.
50
56
* options.styleTagTransform should be an instance of function."
0 commit comments