Permalink
Browse files

Merge pull request #662 from koala-framework/kwcbem-replace

don't replace kwcBem, only replace kwcBem__ and kwcBem--
  • Loading branch information...
nsams committed Jan 4, 2018
2 parents f786416 + 9075bd3 commit c5467b7cd05d8410c3f838e4c95ba82d034e5b56
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 c5467b7

Please sign in to comment.