Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #11 from DenisIzmaylov/patch-1
Browse files Browse the repository at this point in the history
Revert a commit with data.loaders (fix #10)
  • Loading branch information
lpiepiora committed Feb 1, 2015
2 parents 9ad2d4f + 4bd85f9 commit 7f46a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bower-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ BowerWebpackPlugin.prototype.apply = function (compiler) {
bowerLoaderPath = path.join(__dirname, "bower-loader"),
bowerLoaderParams = JSON.stringify({include: manifestMainFiles[data.resource]});

data.loaders = data.loaders.concat(bowerLoaderPath + "?" + bowerLoaderParams);
data.loaders = [bowerLoaderPath + "?" + bowerLoaderParams];
data.request = bowerComponentName + " (bower component)";
data.userRequest = bowerComponentName + " (bower component)";

Expand Down

0 comments on commit 7f46a8d

Please sign in to comment.