Skip to content

Commit 46205ca

Browse files
committed
jam is no longer default, as it impactes performance
1 parent 8dac14a commit 46205ca

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ webpack lib/yourEntryModule.js output/bundle.js
4949
* require minimal configuration, but offer a maximum
5050
* load polyfills for node-specific things if used
5151
* offer replacements for node buildin libraries
52-
* support [npm](https://npmjs.org/) and [jam](http://jamjs.org/)
5352

5453
# Examples
5554

@@ -142,7 +141,7 @@ For example this works out of the box:
142141
Somethings it happens that browsers require other code than node.js do.
143142
`webpack` allow module developers to specify replacements which are used in the compile process of `webpack`.
144143

145-
Modules in `web_modules` and `jam` replace modules in `node_modules`.
144+
Modules in `web_modules` replace modules in `node_modules`.
146145
`filename.web.js` replaces `filename.js` when required without file extension.
147146

148147
in options: `alias: { "http": "http-browserify" }`
@@ -448,9 +447,9 @@ You can also save this options object in a JSON file and use it with the shell c
448447
// ".../node_modules"]
449448
// search paths for modules
450449

451-
modulesDirectorys: ["xyz_modules", "node_modules"],
450+
modulesDirectorys: ["jam", "xyz_modules", "node_modules"],
452451
// default: (defaults are NOT included if you define your own)
453-
// ["web_modules", "jam", "node_modules"];
452+
// ["web_modules", "node_modules"];
454453
// directories to be searched for modules
455454

456455
alias: {

‎lib/webpack.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ module.exports = function webpackMain(context, moduleName, options, callback) {
111111
if(!options.resolve.loaderPostfixes)
112112
options.resolve.loaderPostfixes = ["-webpack-web-loader", "-webpack-loader", "-web-loader", "-loader", ""];
113113
if(!options.resolve.modulesDirectorys)
114-
options.resolve.modulesDirectorys = ["web_modules", "jam", "node_modules"];
114+
options.resolve.modulesDirectorys = ["web_modules", "node_modules"];
115115
if(!options.resolve.alias)
116116
options.resolve.alias = {};
117117
if(!options.resolve.postprocess)

0 commit comments

Comments
 (0)