diff --git a/src/content/api/cli.md b/src/content/api/cli.md
index ea249c78ae70..9c11dcac1770 100644
--- a/src/content/api/cli.md
+++ b/src/content/api/cli.md
@@ -196,7 +196,7 @@ Parameter | Explanation | Input type | D
`--debug` | Switch loaders to debug mode | boolean | false
`--devtool` | Define [source map type](/configuration/devtool/) for the bundled resources | string | -
`--progress` | Print compilation progress in percentage | boolean | false
-
+`--display-error-details` | Display details about errors | boolean | false
### Module Options
diff --git a/src/content/api/loaders.md b/src/content/api/loaders.md
index fef9b97be890..bf449f0c36ce 100644
--- a/src/content/api/loaders.md
+++ b/src/content/api/loaders.md
@@ -36,7 +36,7 @@ __sync-loader-with-multiple-results.js__
``` js
module.exports = function(content, map, meta) {
- this.callback(null, someSyncOperation(content), sourceMaps, meta);
+ this.callback(null, someSyncOperation(content), map, meta);
return; // always return undefined when calling callback()
};
```
diff --git a/src/content/guides/asset-management.md b/src/content/guides/asset-management.md
index 907c9b40eda1..8a075fe54de3 100644
--- a/src/content/guides/asset-management.md
+++ b/src/content/guides/asset-management.md
@@ -6,6 +6,7 @@ contributors:
- michael-ciniawsky
- TheDutchCoder
- sudarsangp
+ - chenxsan
---
If you've been following the guides from the start, you will now have a small project that shows "Hello webpack". Now let's try to incorporate some other assets, like images, to see how they can be handled.
@@ -21,6 +22,7 @@ Let's make a minor change to our project before we get started:
__dist/index.html__
``` diff
+
- Getting Started
@@ -324,7 +326,7 @@ __project__
|- /node_modules
```
-With the loader configured and fonts in place, you can use incorporate them via an `@font-face` declaration. The local `url(...)` directive will be picked up by webpack just as it was with the image:
+With the loader configured and fonts in place, you can incorporate them via an `@font-face` declaration. The local `url(...)` directive will be picked up by webpack just as it was with the image:
__src/style.css__
diff --git a/src/content/guides/author-libraries.md b/src/content/guides/author-libraries.md
index d466032c3730..e683a4d3da87 100644
--- a/src/content/guides/author-libraries.md
+++ b/src/content/guides/author-libraries.md
@@ -101,17 +101,18 @@ require(['webpackNumbers'], function ( webpackNumbers) {
The consumer also can use the library by loading it via a script tag:
``` html
+
-...
-
-
+ ...
+
+
```
diff --git a/src/content/guides/development-vagrant.md b/src/content/guides/development-vagrant.md
index 7520e4210d32..9bf98873972d 100644
--- a/src/content/guides/development-vagrant.md
+++ b/src/content/guides/development-vagrant.md
@@ -36,7 +36,7 @@ module.exports = {
And create a `index.html` file. The script tag should point to your bundle. If `output.filename` is not specified in the config, this will be `bundle.js`.
```html
-
+
diff --git a/src/content/guides/getting-started.md b/src/content/guides/getting-started.md
index 955b55123d98..14ce3cb699f2 100644
--- a/src/content/guides/getting-started.md
+++ b/src/content/guides/getting-started.md
@@ -58,6 +58,7 @@ document.body.appendChild(component());
__index.html__
``` html
+
Getting Started
@@ -127,6 +128,7 @@ Now, since we'll be bundling our scripts, we have to update our `index.html` fil
__dist/index.html__
``` diff
+
Getting Started
@@ -134,7 +136,7 @@ __dist/index.html__
-
-+
++
```
diff --git a/src/content/guides/output-management.md b/src/content/guides/output-management.md
index bcc951f01c27..055f1af25e3d 100644
--- a/src/content/guides/output-management.md
+++ b/src/content/guides/output-management.md
@@ -69,6 +69,7 @@ Let's also update our `dist/index.html` file, in preparation for webpack to spli
__dist/index.html__
``` diff
+
- Asset Management
diff --git a/src/content/guides/shimming.md b/src/content/guides/shimming.md
index 51c478037835..b0ec5b117464 100644
--- a/src/content/guides/shimming.md
+++ b/src/content/guides/shimming.md
@@ -374,6 +374,7 @@ With that in place, we can add the logic to conditionally load our new `polyfill
__dist/index.html__
``` diff
+
Getting Started
diff --git a/src/content/index.md b/src/content/index.md
index 4c7f59b3e639..767ea8189d51 100644
--- a/src/content/index.md
+++ b/src/content/index.md
@@ -45,6 +45,7 @@ module.exports = {
__page.html__
```html
+
...
diff --git a/src/content/plugins/index.md b/src/content/plugins/index.md
index 5750f5c19ce7..0095b34fe755 100644
--- a/src/content/plugins/index.md
+++ b/src/content/plugins/index.md
@@ -6,6 +6,7 @@ contributors:
- rouzbeh84
- aretecode
- eko3alpha
+ - refactorized
---
webpack has a rich plugin interface. Most of the features within webpack itself use this plugin interface. This makes webpack **flexible**.
@@ -16,9 +17,9 @@ Name | Description
[`BabelMinifyWebpackPlugin`](/plugins/babel-minify-webpack-plugin) | Minification with [babel-minify](https://github.com/babel/minify)
[`BannerPlugin`](/plugins/banner-plugin) | Add a banner to the top of each generated chunk
[`CommonsChunkPlugin`](/plugins/commons-chunk-plugin) | Extract common modules shared between chunks
-[`ComponentWebpackPlugin`](/plugins/component-webpack-plugin) | Use components with webpack
[`CompressionWebpackPlugin`](/plugins/compression-webpack-plugin) | Prepare compressed versions of assets to serve them with Content-Encoding
[`ContextReplacementPlugin`](/plugins/context-replacement-plugin) | Override the inferred context of a `require` expression
+[`CopyWebpackPlugin`](/plugins/copy-webpack-plugin) | Copies individual files or entire directories to the build directory
[`DefinePlugin`](/plugins/define-plugin) | Allow global constants configured at compile time
[`DllPlugin`](/plugins/dll-plugin) | Split bundles in order to drastically improve build time
[`EnvironmentPlugin`](/plugins/environment-plugin) | Shorthand for using the [`DefinePlugin`](./define-plugin) on `process.env` keys
diff --git a/src/scripts/fetch.sh b/src/scripts/fetch.sh
index be69b0acfd0d..85737df85e5f 100644
--- a/src/scripts/fetch.sh
+++ b/src/scripts/fetch.sh
@@ -16,6 +16,9 @@ node ./src/scripts/fetch_package_names.js "peerigon" "extract-loader" | node ./s
# Fetch webpack-contrib (and various other) plugin repositories
node ./src/scripts/fetch_package_names.js "webpack-contrib" "-webpack-plugin" | node ./src/scripts/fetch_package_files.js "README.md" "./generated/plugins"
+# Remove deprecated or archived plugins repositories
+rm ./generated/plugins/component-webpack-plugin.json ./generated/plugins/component-webpack-plugin.md
+
# Fetch sponsors and backers from opencollective
node ./src/scripts/fetch_supporters.js