Skip to content

Commit ea4be07

Browse files
committed
Link documentation to webpack.js.org
Replaces webpack.github.io links with links to the new documentation.
1 parent 760c247 commit ea4be07

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ that include your webpack.config.js and relevant files are more likely to receiv
2020
If you have created your own loader/plugin please include it on the relevant
2121
documentation pages:
2222

23-
[List of loaders](https://webpack.github.io/docs/list-of-loaders.html)
24-
[List of plugins](https://webpack.github.io/docs/list-of-plugins.html)
23+
[List of loaders](https://webpack.js.org/loaders/) or [awesome-webpack](https://github.com/webpack-contrib/awesome-webpack#loaders)
24+
[List of plugins](https://webpack.js.org/plugins) or [awesome-webpack](https://github.com/webpack-contrib/awesome-webpack#webpack-plugins)
2525

2626
## Setup
2727

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,12 @@ webpack supports ES2015+, CommonJS and AMD modules **out of the box**. It perfor
222222
analysis on the AST of your code. It even has an evaluation engine to evaluate
223223
simple expressions. This allows you to **support most existing libraries** out of the box.
224224

225-
### [Code Splitting](https://webpack.github.io/docs/code-splitting.html)
225+
### [Code Splitting](https://webpack.js.org/guides/code-splitting/)
226226

227227
webpack allows you to split your codebase into multiple chunks. Chunks are
228228
loaded asynchronously at runtime. This reduces the initial loading time.
229229

230-
### [Optimizations](https://webpack.github.io/docs/optimization.html)
230+
### [Optimizations](https://webpack.js.org/guides/production-build/)
231231

232232
webpack can do many optimizations to **reduce the output size of your
233233
JavaScript** by deduplicating frequently used modules, minifying, and giving

bin/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ try {
1515
} catch(e) {}
1616
var yargs = require("yargs")
1717
.usage("webpack " + require("../package.json").version + "\n" +
18-
"Usage: https://webpack.github.io/docs/cli.html\n" +
18+
"Usage: https://webpack.js.org/api/cli/\n" +
1919
"Usage without config file: webpack <entry> [<entry>] <output>\n" +
2020
"Usage with config file: webpack");
2121

lib/MovedToPluginWarningPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = class MovedToPluginWarningPlugin {
1515
compilation.warnings.push(new Error `webpack options:
1616
DEPRECATED option ${optionName} will be moved to the ${pluginName}.
1717
Use this instead.
18-
For more info about the usage of the ${pluginName} see https://webpack.github.io/docs/list-of-plugins.html`);
18+
For more info about the usage of the ${pluginName} see https://webpack.js.org/plugins/`);
1919
});
2020
}
2121
};

lib/optimize/AggressiveMergingPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class AggressiveMergingPlugin {
88
constructor(options) {
99
if(options !== undefined && typeof options !== "object" || Array.isArray(options)) {
10-
throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.github.io/docs/list-of-plugins.html");
10+
throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/");
1111
}
1212
this.options = options || {};
1313
}

lib/optimize/LimitChunkCountPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class LimitChunkCountPlugin {
88
constructor(options) {
99
if(options !== undefined && typeof options !== "object" || Array.isArray(options)) {
10-
throw new Error("Argument should be an options object.\nFor more info on options, see https://webpack.github.io/docs/list-of-plugins.html");
10+
throw new Error("Argument should be an options object.\nFor more info on options, see https://webpack.js.org/plugins/");
1111
}
1212
this.options = options || {};
1313
}

lib/optimize/MinChunkSizePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class MinChunkSizePlugin {
88
constructor(options) {
99
if(typeof options !== "object" || Array.isArray(options)) {
10-
throw new Error("Argument should be an options object.\nFor more info on options, see https://webpack.github.io/docs/list-of-plugins.html");
10+
throw new Error("Argument should be an options object.\nFor more info on options, see https://webpack.js.org/plugins/");
1111
}
1212
this.options = options;
1313
}

lib/optimize/OccurrenceOrderPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class OccurrenceOrderPlugin {
88
constructor(preferEntry) {
99
if(preferEntry !== undefined && typeof preferEntry !== "boolean") {
10-
throw new Error("Argument should be a boolean.\nFor more info on this plugin, see https://webpack.github.io/docs/list-of-plugins.html");
10+
throw new Error("Argument should be a boolean.\nFor more info on this plugin, see https://webpack.js.org/plugins/");
1111
}
1212
this.preferEntry = preferEntry;
1313
}

0 commit comments

Comments
 (0)