Skip to content
This repository was archived by the owner on Nov 5, 2019. It is now read-only.

Commit b70a4ad

Browse files
committed
fixed dependency to raw-loader webpack/webpack#69
1 parent 4fece3b commit b70a4ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports.pitch = function(remainingRequest) {
88
this.cacheable && this.cacheable();
99
return "require(" + JSON.stringify("!" + path.join(__dirname, "addScript.js")) + ")"+
1010
"(require(" +
11-
JSON.stringify("!raw!" + remainingRequest) + ")" +
11+
JSON.stringify("!" + require.resolve("raw-loader") + "!" + remainingRequest) + ")" +
1212
(this.debug ?
1313
"+" +
1414
JSON.stringify(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "script-loader",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"author": "Tobias Koppers @sokra",
55
"description": "script loader module for webpack",
66
"dependencies": {

0 commit comments

Comments
 (0)