Skip to content

Commit b10da8d

Browse files
committed
fix bug webpack#39
1 parent bca3359 commit b10da8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/buildDeps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function addModule(depTree, context, modu, options, reason, finalCallback) {
212212
allLoaders.push.apply(allLoaders, postLoaders = postLoaders.map(resolve.parse.part));
213213

214214
// store the list in the module
215-
modu.loaders = allLoaders;
215+
modu.loaders = allLoaders.map(function(l) { return l.path; });
216216

217217
// and put premature dependencies into module (in case of loader error)
218218
modu.dependencies = requestObj.resource &&

0 commit comments

Comments
 (0)