@@ -69,49 +69,56 @@ exports[`validate options should throw an error on the "sourceMap" option with "
6969exports [` validate options should throw an error on the "unknown" option with "/test/" value 1` ] = `
7070"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
7171 - 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 ? }"
7373`;
7474
7575exports [` validate options should throw an error on the "unknown" option with "[]" value 1` ] = `
7676"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
7777 - 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 ? }"
7979`;
8080
8181exports [` validate options should throw an error on the "unknown" option with "{ " foo" :" bar" } " value 1` ] = `
8282"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
8383 - 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 ? }"
8585`;
8686
8787exports [` validate options should throw an error on the "unknown" option with "{ } " value 1` ] = `
8888"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
8989 - 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 ? }"
9191`;
9292
9393exports [` validate options should throw an error on the "unknown" option with "1" value 1` ] = `
9494"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
9595 - 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 ? }"
9797`;
9898
9999exports [` validate options should throw an error on the "unknown" option with "false" value 1` ] = `
100100"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
101101 - 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 ? }"
103103`;
104104
105105exports [` validate options should throw an error on the "unknown" option with "test" value 1` ] = `
106106"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
107107 - 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 ? }"
109109`;
110110
111111exports [` validate options should throw an error on the "unknown" option with "true" value 1` ] = `
112112"Invalid options object. Sass Loader has been initialized using an options object that does not match the API schema.
113113 - 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"
115122` ;
116123
117124exports [` validate options should throw an error on the "webpackImporter" option with "string" value 1` ] = `
0 commit comments