Skip to content

Commit d5fd622

Browse files
committed
fixed val-loader
1 parent 4f6bd7f commit d5fd622

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎lib/execLoaders.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ module.exports = function(request, loaders, filenames, contents, options, callba
5656
var Module = require("module");
5757
var m = new Module("exec in " + request, module);
5858
m.filename = filenames[0];
59+
m.paths = Module._nodeModulePaths(path.dirname(filenames[0]));
5960
m._compile(code, filename);
6061
return m.exports;
6162
},

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack",
3-
"version": "0.3.20",
3+
"version": "0.4.1",
44
"author": "Tobias Koppers @sokra",
55
"description": "Packs CommonJs Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.",
66
"dependencies": {
@@ -12,7 +12,7 @@
1212
"json-loader": "0.1.x",
1313
"jade-loader": "0.1.x",
1414
"coffee-loader": "0.1.x",
15-
"css-loader": "0.1.x",
15+
"css-loader": "0.2.x",
1616
"less-loader": "0.1.x",
1717
"style-loader": "0.1.x",
1818
"script-loader": "0.1.x",

0 commit comments

Comments
 (0)