Skip to content

Commit e42701d

Browse files
committed
fixes webpack#54
1 parent 8a2c2ee commit e42701d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = function webpackMain(context, moduleName, options, callback) {
107107
if(!options.resolve.postfixes)
108108
options.resolve.postfixes = ["", "-webpack", "-web"];
109109
if(!options.resolve.packageMains)
110-
options.resolve.packageMains = ["webpack", "browserify", "web", "main"];
110+
options.resolve.packageMains = ["webpack", "browserify", "web", ["jam","main"], "main"];
111111
if(!options.resolve.loaderExtensions)
112112
options.resolve.loaderExtensions = [".webpack-web-loader.js", ".webpack-loader.js", ".web-loader.js", ".loader.js", "", ".js"];
113113
if(!options.resolve.loaderPostfixes)

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.8.2",
3+
"version": "0.8.3",
44
"author": "Tobias Koppers @sokra",
55
"description": "Packs CommonJs/AMD 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)