Skip to content

Commit b5f7c36

Browse files
committed
fixes webpack#76
1 parent 3cb3cf7 commit b5f7c36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/SourceMapDevToolPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ SourceMapDevToolPlugin.prototype.apply = function(compiler) {
4646
.replace(Template.REGEXP_FILEBASE, basename(file))
4747
.replace(Template.REGEXP_HASH, this.hash)
4848
.replace(Template.REGEXP_ID, chunk.id);
49-
this.assets[file] = new ConcatSource(asset, "\n/*\n//@ sourceMappingURL=" + basename(sourceMapFile) + "\n*/");
49+
this.assets[file] = new ConcatSource(asset, "\n/*\n//@ sourceMappingURL=" + sourceMapFile + "\n*/");
5050
this.assets[sourceMapFile] = new RawSource(JSON.stringify(sourceMap));
5151
chunk.files.push(sourceMapFile);
5252
} else {

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-beta12",
3+
"version": "0.10.0-beta13",
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)