Skip to content

Commit 69e14f2

Browse files
committed
fix: loader options merge
1 parent bce3850 commit 69e14f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easywebpack",
3-
"version": "4.1.1",
3+
"version": "4.1.2",
44
"description": "基于 Webpack 的前端构建工程化解决方案",
55
"keywords": [
66
"webpack",

utils/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ utils.getLoaderLabel = loader => {
202202
}, '');
203203
}
204204
}
205-
return loaderName.replace(/-loader$/, '').replace(/-/g, '');
205+
return loaderName.replace(/-loader$/, '');
206206
};
207207

208208
utils.loadNodeModules = isCache => {

0 commit comments

Comments
 (0)