Commit 549ea08 1 parent fbf05de commit 549ea08 Copy full SHA for 549ea08
File tree 2 files changed +23
-3
lines changed
2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 11
11
"type" : " object"
12
12
}
13
13
},
14
+ "errorMessage" : {
15
+ "properties" : {
16
+ "ctx" : " should be {Object} (https://github.com/postcss/postcss-loader#context-ctx)" ,
17
+ "path" : " should be {String} (https://github.com/postcss/postcss-loader#path)"
18
+ }
19
+ },
14
20
"additionalProperties" : false
15
21
},
16
22
"exec" : {
39
45
"type" : [ " string" , " boolean" ]
40
46
}
41
47
},
48
+ "errorMessage" : {
49
+ "properties" : {
50
+ "exec" : " should be {Boolean} (https://github.com/postcss/postcss-loader#exec)" ,
51
+ "ident" : " should be {String} (https://github.com/postcss/postcss-loader#plugins)" ,
52
+ "config" : " should be {Object} (https://github.com/postcss/postcss-loader#config)" ,
53
+ "parser" : " should be {String|Object} (https://github.com/postcss/postcss-loader#parser)" ,
54
+ "syntax" : " should be {String|Object} (https://github.com/postcss/postcss-loader#syntax)" ,
55
+ "stringifier" : " should be {String|Object} (https://github.com/postcss/postcss-loader#stringifier)" ,
56
+ "plugins" : " should be {Array|Object|Function} (https://github.com/postcss/postcss-loader#plugins)" ,
57
+ "sourceMap" : " should be {String|Boolean} (https://github.com/postcss/postcss-loader#sourcemap)"
58
+ }
59
+ },
42
60
"additionalProperties" : true
43
61
}
Original file line number Diff line number Diff line change 1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` Errors Syntax Error 1` ] = `
4
- "Syntax Error
4
+ "Syntax Error
5
5
6
6
(1:3) Unexpected separator in property
7
7
@@ -14,6 +14,8 @@ exports[`Errors Syntax Error 1`] = `
14
14
exports [` Errors Validation Error 1` ] = `
15
15
"ValidationError: PostCSS Loader Invalid Options
16
16
17
- options.sourceMap should be string,boolean
18
- "
17
+ options.sourceMap should be { String | Boolean } (https://github.com/postcss/postcss-loader#sourcemap)
18
+
19
+ at validateOptions (/Users/Cini/Github/webpack/loaders/postcss/node_modules/@webpack-utilities/schema/src/validateOptions.js:25:11)
20
+ at Object.loader (/Users/Cini/Github/webpack/loaders/postcss/src/index.js:44:3)"
19
21
` ;
You can’t perform that action at this time.
0 commit comments