Skip to content

Commit 92fe103

Browse files
authored
docs: context is localIdentContext in README (#1202)
1 parent e5a9272 commit 92fe103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ module.exports = {
530530
auto: true,
531531
exportGlobals: true,
532532
localIdentName: '[path][name]__[local]--[hash:base64:5]',
533-
context: path.resolve(__dirname, 'src'),
533+
localIdentContext: path.resolve(__dirname, 'src'),
534534
localIdentHashPrefix: 'my-custom-hash',
535535
namedExport: true,
536536
exportLocalsConvention: 'camelCase',
@@ -780,7 +780,7 @@ module.exports = {
780780
loader: 'css-loader',
781781
options: {
782782
modules: {
783-
context: path.resolve(__dirname, 'context'),
783+
localIdentContext: path.resolve(__dirname, 'src'),
784784
},
785785
},
786786
},

0 commit comments

Comments
 (0)