fixes #54
This commit is contained in:
parent
8a2c2ee914
commit
e42701dc6f
|
@ -107,7 +107,7 @@ module.exports = function webpackMain(context, moduleName, options, callback) {
|
|||
if(!options.resolve.postfixes)
|
||||
options.resolve.postfixes = ["", "-webpack", "-web"];
|
||||
if(!options.resolve.packageMains)
|
||||
options.resolve.packageMains = ["webpack", "browserify", "web", "main"];
|
||||
options.resolve.packageMains = ["webpack", "browserify", "web", ["jam","main"], "main"];
|
||||
if(!options.resolve.loaderExtensions)
|
||||
options.resolve.loaderExtensions = [".webpack-web-loader.js", ".webpack-loader.js", ".web-loader.js", ".loader.js", "", ".js"];
|
||||
if(!options.resolve.loaderPostfixes)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "webpack",
|
||||
"version": "0.8.2",
|
||||
"version": "0.8.3",
|
||||
"author": "Tobias Koppers @sokra",
|
||||
"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.",
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue