From 54a0736b405c10850c5ba4ec382ebb994c9a8873 Mon Sep 17 00:00:00 2001 From: ntnyq Date: Thu, 7 Dec 2023 00:47:53 +0800 Subject: [PATCH] docs: add missing parameter (#1155) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f34f16e8..e7245466 100644 --- a/README.md +++ b/README.md @@ -418,7 +418,7 @@ module.exports = { { loader: "sass-loader", options: { - sassOptions: (loaderContext) => { + sassOptions: (content, loaderContext) => { // More information about available properties https://webpack.js.org/api/loaders/ const { resourcePath, rootContext } = loaderContext; const relativePath = path.relative(rootContext, resourcePath);