@@ -69,49 +69,56 @@ exports[`validate options should throw an error on the "sourceMap" option with "
69
69
exports [` validate options should throw an error on the "unknown" option with "/test/" value 1` ] = `
70
70
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
71
71
- options has an unknown property 'unknown'. These properties are valid:
72
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
72
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
73
73
`;
74
74
75
75
exports [` validate options should throw an error on the "unknown" option with "[]" value 1` ] = `
76
76
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
77
77
- options has an unknown property 'unknown'. These properties are valid:
78
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
78
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
79
79
`;
80
80
81
81
exports [` validate options should throw an error on the "unknown" option with "{ " foo" :" bar" } " value 1` ] = `
82
82
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
83
83
- options has an unknown property 'unknown'. These properties are valid:
84
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
84
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
85
85
`;
86
86
87
87
exports [` validate options should throw an error on the "unknown" option with "{ } " value 1` ] = `
88
88
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
89
89
- options has an unknown property 'unknown'. These properties are valid:
90
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
90
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
91
91
`;
92
92
93
93
exports [` validate options should throw an error on the "unknown" option with "1" value 1` ] = `
94
94
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
95
95
- options has an unknown property 'unknown'. These properties are valid:
96
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
96
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
97
97
`;
98
98
99
99
exports [` validate options should throw an error on the "unknown" option with "false" value 1` ] = `
100
100
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
101
101
- options has an unknown property 'unknown'. These properties are valid:
102
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
102
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
103
103
`;
104
104
105
105
exports [` validate options should throw an error on the "unknown" option with "test" value 1` ] = `
106
106
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
107
107
- options has an unknown property 'unknown'. These properties are valid:
108
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
108
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
109
109
`;
110
110
111
111
exports [` validate options should throw an error on the "unknown" option with "true" value 1` ] = `
112
112
"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
113
113
- options has an unknown property 'unknown'. These properties are valid:
114
- object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? }"
114
+ object { implementation ? , sassOptions ? , additionalData ? , sourceMap ? , webpackImporter ? , warnRuleAsWarning ? }"
115
+ `;
116
+
117
+ exports [` validate options should throw an error on the "warnRuleAsWarning" option with "string" value 1` ] = `
118
+ "Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
119
+ - options.warnRuleAsWarning should be a boolean.
120
+ -> Treats the '@warn' rule as a webpack warning.
121
+ -> Read more at https://github.com/webpack-contrib/sass-loader#warnruleaswarning"
115
122
` ;
116
123
117
124
exports [` validate options should throw an error on the "webpackImporter" option with "string" value 1` ] = `
0 commit comments