You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
exports[`validate options should throw an error on the "esModule" option with "true" value 1`] =`
16
-
"Invalid options object. File Loader has been initialised using an options object that does not match the API schema.
16
+
"Invalid options object. File Loader has been initialized using an options object that does not match the API schema.
17
17
- options.esModule should be a boolean.
18
18
-> By default, file-loader generates JS modules that use the ES modules syntax."
19
19
`;
20
20
21
21
exports[`validate options should throw an error on the "name" option with "true" value 1`] =`
22
-
"Invalid options object. File Loader has been initialised using an options object that does not match the API schema.
22
+
"Invalid options object. File Loader has been initialized using an options object that does not match the API schema.
23
23
- options.name should be one of these:
24
24
string | function
25
25
-> The filename template for the target file(s) (https://github.com/webpack-contrib/file-loader#name).
@@ -29,7 +29,7 @@ exports[`validate options should throw an error on the "name" option with "true"
29
29
`;
30
30
31
31
exports[`validate options should throw an error on the "outputPath" option with "true" value 1`] =`
32
-
"Invalid options object. File Loader has been initialised using an options object that does not match the API schema.
32
+
"Invalid options object. File Loader has been initialized using an options object that does not match the API schema.
33
33
- options.outputPath should be one of these:
34
34
string | function
35
35
-> A filesystem path where the target file(s) will be placed (https://github.com/webpack-contrib/file-loader#outputpath).
@@ -39,7 +39,7 @@ exports[`validate options should throw an error on the "outputPath" option with
39
39
`;
40
40
41
41
exports[`validate options should throw an error on the "publicPath" option with "true" value 1`] =`
42
-
"Invalid options object. File Loader has been initialised using an options object that does not match the API schema.
42
+
"Invalid options object. File Loader has been initialized using an options object that does not match the API schema.
43
43
- options.publicPath should be one of these:
44
44
string | function
45
45
-> A custom public path for the target file(s) (https://github.com/webpack-contrib/file-loader#publicpath).
@@ -49,7 +49,7 @@ exports[`validate options should throw an error on the "publicPath" option with
49
49
`;
50
50
51
51
exports[`validate options should throw an error on the "regExp" option with "true" value 1`] =`
52
-
"Invalid options object. File Loader has been initialised using an options object that does not match the API schema.
52
+
"Invalid options object. File Loader has been initialized using an options object that does not match the API schema.
53
53
- options.regExp should be one of these:
54
54
string | RegExp
55
55
-> A Regular Expression to one or many parts of the target file path. The capture groups can be reused in the name property using [N] placeholder (https://github.com/webpack-contrib/file-loader#regexp).
0 commit comments