Skip to content

Commit 5514935

Browse files
committed
fixed little bug
1 parent b5f7c36 commit 5514935

File tree

3 files changed

+2
-33
lines changed

3 files changed

+2
-33
lines changed

lib/NodeStuffPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = NodeStuffPlugin;
1616
NodeStuffPlugin.prototype.apply = function(compiler) {
1717
function ignore() { return true; }
1818
var context = this.context;
19-
if(this.options.__filename) {
19+
if(this.options.__filename == "mock") {
2020
compiler.parser.plugin("expression __filename", function(expr) {
2121
this.state.current.addVariable("__filename", JSON.stringify("/index.js"));
2222
return true;

lib/NodeStuffRealPathsPlugin.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack",
3-
"version": "0.10.0-beta13",
3+
"version": "0.10.0-beta14",
44
"author": "Tobias Koppers @sokra",
55
"description": "Packs CommonJs/AMD/Labeled Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jade, coffee, css, less, ... and your custom stuff.",
66
"dependencies": {

0 commit comments

Comments
 (0)