Skip to content

Commit

Permalink
fix: loader options merge
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Mar 22, 2018
1 parent bce3850 commit 69e14f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easywebpack",
"version": "4.1.1",
"version": "4.1.2",
"description": "基于 Webpack 的前端构建工程化解决方案",
"keywords": [
"webpack",
Expand Down
2 changes: 1 addition & 1 deletion utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ utils.getLoaderLabel = loader => {
}, '');
}
}
return loaderName.replace(/-loader$/, '').replace(/-/g, '');
return loaderName.replace(/-loader$/, '');
};

utils.loadNodeModules = isCache => {
Expand Down

0 comments on commit 69e14f2

Please sign in to comment.