ykit icon indicating copy to clipboard operation
ykit copied to clipboard

windows上各种不行

Open bibiuc opened this issue 7 years ago • 3 comments

image

bibiuc avatar Oct 13 '18 03:10 bibiuc

应该是判断分隔符的时候用了sysPath.sep 写happypack/loader的时候用了/ 所以。。。('/'!='\')所以加了-loader

bibiuc avatar Oct 13 '18 03:10 bibiuc

修复之前临时用这个处理了

 modifyWebpackConfig: function(baseConfig) {
      baseConfig.module.loaders.forEach(function(item) {
        if (item.loader == 'happypack/loader') {
          item.loader = 'happypack/loader'.split('/').join(sysPath.sep);
        }
      });
      return baseConfig;
}

bibiuc avatar Oct 13 '18 04:10 bibiuc

@bibiuc 感谢,我尽快修复

honchy avatar Oct 18 '18 07:10 honchy