diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -79,7 +79,7 @@ function scopedName(name, filename, css) {
   return loaderUtils.interpolateName(
     { resourcePath: filename },
     localModuleNameFormat.replace(/\[localName\]/g, name),
-    { content: css }
+    { content: css.substring(css.indexOf('.' + name)) }
   );
 }
fix all classes from same file having same hashes/emojis