Skip to content

Commit ec65723

Browse files
committed
docs: improve documentation
1 parent a974120 commit ec65723

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ This improves performance and memory usage a lot, but isn't as stable as the nor
265265

266266
When combined with `experiments.layers`, this adds a `layer` option to the loader options to specify the layer of the css execution.
267267

268+
You need to have at least webpack 5.33.2.
269+
268270
### Loader Options
269271

270272
| Name | Type | Default | Description |

src/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export function pitch(request) {
191191
if (!this.importModule) {
192192
callback(
193193
new Error(
194-
"You are using experimentalUseImportModule but 'this.importModule' is not available in loader context. You need to have at least webpack 5.32.0."
194+
"You are using experimentalUseImportModule but 'this.importModule' is not available in loader context. You need to have at least webpack 5.33.2."
195195
)
196196
);
197197
return;

0 commit comments

Comments
 (0)