Skip to content

Commit 01edf7b

Browse files
author
Michael Vurchio
committed
Rename variables
1 parent 98ac3ba commit 01edf7b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const regex = {
2020
let moduleClasses = {};
2121

2222
function getLocalIdentName(context, localIdentName, localName, options) {
23-
return localIdentName.interpolated;
23+
return localIdentName.interpolatedName;
2424
}
2525

2626
function generateName(resourcePath, styles, className) {
@@ -85,12 +85,11 @@ const markup = async ({ content, filename }) => {
8585
const customInterpolatedName = pluginOptions.getLocalIdentName(
8686
{
8787
context: path.dirname(filename),
88-
filename: path.basename(filename),
8988
resourcePath :filename,
9089
},
9190
{
92-
interpolated: interpolatedName,
93-
rules: pluginOptions.localIdentName,
91+
interpolatedName,
92+
template: pluginOptions.localIdentName,
9493
},
9594
className,
9695
{

0 commit comments

Comments
 (0)