Skip to content

Commit f33da58

Browse files
committed
better debugging in chrome fixes webpack#6
1 parent 72df460 commit f33da58

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/writeSource.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ module.exports = function(module, options, toRealId, toRealChuckId) {
213213
"// module.id = ", module.id, "\n",
214214
"// module.realId = ", module.realId, "\n",
215215
"// module.chunks = ", module.chunks.join(", "), "\n",
216-
"//@ sourceURL=webpack-module://", encodeURI(module.filename || module.dirname).replace(/%5C|%2F/g, "/")
216+
"//@ sourceURL=webpack-module:///", encodeURI(module.filename || module.dirname).replace(/%5C|%2F/g, "/").replace(/^\//, "")
217217
].join("")),
218218
");"].join("");
219219
}

‎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.4.11",
3+
"version": "0.4.12",
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": {

0 commit comments

Comments
 (0)