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
Copy file name to clipboardExpand all lines: src/options.json
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,10 @@
118
118
}
119
119
]
120
120
},
121
+
"icss": {
122
+
"description": "Enables/Disables handling the CSS module interoperable import/export format ((https://github.com/webpack-contrib/css-loader#icss)",
123
+
"type": "boolean"
124
+
},
121
125
"sourceMap": {
122
126
"description": "Enables/Disables generation of source maps (https://github.com/webpack-contrib/css-loader#sourcemap).",
Copy file name to clipboardExpand all lines: test/__snapshots__/validate-options.test.js.snap
+20-8Lines changed: 20 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ exports[`validate options should throw an error on the "esModule" option with "t
6
6
-> Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule)."
7
7
`;
8
8
9
+
exports[`validate options should throw an error on the "icss" option with "1" value 1`] =`
10
+
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
11
+
- options.icss should be a boolean.
12
+
-> Enables/Disables handling the CSS module interoperable import/export format ((https://github.com/webpack-contrib/css-loader#icss)"
13
+
`;
14
+
15
+
exports[`validate options should throw an error on the "icss" option with "true" value 1`] =`
16
+
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
17
+
- options.icss should be a boolean.
18
+
-> Enables/Disables handling the CSS module interoperable import/export format ((https://github.com/webpack-contrib/css-loader#icss)"
19
+
`;
20
+
9
21
exports[`validate options should throw an error on the "import" option with "true" value 1`] =`
10
22
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
11
23
- options.import should be one of these:
@@ -235,49 +247,49 @@ exports[`validate options should throw an error on the "sourceMap" option with "
235
247
exports[`validate options should throw an error on the "unknown" option with "/test/" value 1`] =`
236
248
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
237
249
- options has an unknown property 'unknown'. These properties are valid:
0 commit comments