Permalink
Browse files

don't replace kwcBem, only replace kwcBem__ and kwcBem--

fixes config.kwcBem = ...
  • Loading branch information...
nsams committed Dec 21, 2017
1 parent 669aa73 commit 9075bd3d43ab67899ea1329489f4981aa8544135
Showing with 2 additions and 1 deletion.
  1. +2 −1 node_modules_build/kwf-webpack/loader-kwc/component-file-loader.js
@@ -11,7 +11,8 @@ module.exports = function(source, map) {
this.cacheable();
source = source.replace(/\.kwcClass/g, '.'+query.cls);
source = source.replace(/kwcBem/g, query.cls);
source = source.replace(/kwcBem__/g, query.cls+'__');
source = source.replace(/kwcBem--/g, query.cls+'--');
return source;
};

0 comments on commit 9075bd3

Please sign in to comment.