Skip to content

Commit 556b91e

Browse files
committed
Fixed (webpack) output, added link to example webpack
1 parent 0535053 commit 556b91e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ You as developer can use such files like any other module.
3333
* load polyfills for node-specific things if used
3434
* offer replacements for node buildin libaries
3535

36-
## Example
36+
# Example
37+
38+
See [example webapp](http://sokra.github.com/modules-webpack-example/).
39+
40+
## Simple Example
3741

3842
``` javascript
3943
// a.js

bin/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ if(argv.single) {
160160
function compressFilename(filename) {
161161
if(!filename)
162162
return filename;
163+
filename = filename.replace(buildins, "!(webpack)");
163164
filename = filename.replace(cwd, "!.");
164165
filename = filename.replace(cwdParent, "!..");
165-
filename = filename.replace(buildins, "!(webpack)");
166166
return filename.replace(/^!/, "");
167167
}
168168
if(stats.fileModules) {

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.3.4",
3+
"version": "0.3.5",
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)