From 61f01b7223fe26dd7064ead98acf71c5692e7a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Wed, 4 Apr 2018 00:51:36 +0200 Subject: [PATCH] Evaluate all http redirects or outgoing links --- src/components/Footer/Footer.jsx | 2 +- src/components/StarterKits/StarterKits.jsx | 2 +- src/content/api/cli.md | 2 +- src/content/api/loaders.md | 2 +- src/content/api/module-variables.md | 8 ++++---- src/content/branding.md | 4 ++-- src/content/comparison.md | 4 ++-- src/content/concepts/hot-module-replacement.md | 2 +- src/content/configuration/devtool.md | 2 +- src/content/configuration/output.md | 2 +- src/content/configuration/target.md | 4 ++-- src/content/configuration/watch.md | 4 ++-- src/content/contribute/index.md | 2 +- src/content/guides/caching.md | 4 ++-- src/content/guides/code-splitting.md | 2 +- src/content/guides/hot-module-replacement.md | 6 +++--- src/content/guides/migrating.md | 4 ++-- src/content/guides/production.md | 2 +- src/content/guides/shimming.md | 2 +- src/content/loaders/index.md | 4 ++-- src/content/plugins/commons-chunk-plugin.md | 2 +- src/content/plugins/dll-plugin.md | 10 +++++----- src/content/plugins/html-webpack-plugin.md | 6 +++--- 23 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx index f7e83dea02aa..8dc4a050ef86 100644 --- a/src/components/Footer/Footer.jsx +++ b/src/components/Footer/Footer.jsx @@ -25,7 +25,7 @@ const Footer = () => (
Glossary Branding - Gitter + Gitter Changelog ( The following table contains a curated list of starter kits that can be used as a jumping off point for webpack-based projects. To add a new kit to the list please visit{' '} - this repository{' '} + this repository{' '} and submit a PR against this file: generator/starterProjectUrls.js.

diff --git a/src/content/api/cli.md b/src/content/api/cli.md index b2200a0468df..29b5f1aa94b3 100644 --- a/src/content/api/cli.md +++ b/src/content/api/cli.md @@ -116,7 +116,7 @@ webpack --json webpack --json > stats.json ``` -In every other case, webpack prints out a set of stats showing bundle, chunk and timing details. Using this option the output can be a JSON object. This response is accepted by webpack's [analyse tool](https://webpack.github.com/analyse), or chrisbateman's [webpack-visualizer](https://chrisbateman.github.io/webpack-visualizer/), or th0r's [webpack-bundle-analyzer](https://github.com/th0r/webpack-bundle-analyzer). The analyse tool will take in the JSON and provide all the details of the build in graphical form. +In every other case, webpack prints out a set of stats showing bundle, chunk and timing details. Using this option the output can be a JSON object. This response is accepted by webpack's [analyse tool](https://webpack.github.io/analyse/), or chrisbateman's [webpack-visualizer](https://chrisbateman.github.io/webpack-visualizer/), or th0r's [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer). The analyse tool will take in the JSON and provide all the details of the build in graphical form. ### Environment Options diff --git a/src/content/api/loaders.md b/src/content/api/loaders.md index bf449f0c36ce..db96de2184e0 100644 --- a/src/content/api/loaders.md +++ b/src/content/api/loaders.md @@ -355,7 +355,7 @@ addDependency(file: string) dependency(file: string) // shortcut ``` -Adds a file as dependency of the loader result in order to make them watchable. For example, [`html-loader`](https://github.com/webpack/html-loader) uses this technique as it finds `src` and `src-set` attributes. Then, it sets the url's for those attributes as dependencies of the html file that is parsed. +Adds a file as dependency of the loader result in order to make them watchable. For example, [`html-loader`](https://github.com/webpack-contrib/html-loader) uses this technique as it finds `src` and `src-set` attributes. Then, it sets the url's for those attributes as dependencies of the html file that is parsed. ### `this.addContextDependency` diff --git a/src/content/api/module-variables.md b/src/content/api/module-variables.md index d51422445732..542ded7724ad 100644 --- a/src/content/api/module-variables.md +++ b/src/content/api/module-variables.md @@ -66,12 +66,12 @@ exports.aFunction = function doSomething() { ### `global` (NodeJS) -See [node.js global](http://nodejs.org/api/globals.html#globals_global). +See [node.js global](https://nodejs.org/api/globals.html#globals_global). ### `process` (NodeJS) -See [node.js process](http://nodejs.org/api/process.html). +See [node.js process](https://nodejs.org/api/process.html). ### `__dirname` (NodeJS) @@ -80,7 +80,7 @@ Depending on the config option `node.__dirname`: * `false`: Not defined * `mock`: equal "/" -* `true`: [node.js __dirname](http://nodejs.org/api/globals.html#globals_dirname) +* `true`: [node.js __dirname](https://nodejs.org/api/globals.html#globals_dirname) If used inside a expression that is parsed by the Parser, the config option is treated as `true`. @@ -91,7 +91,7 @@ Depending on the config option `node.__filename`: * `false`: Not defined * `mock`: equal "/index.js" -* `true`: [node.js __filename](http://nodejs.org/api/globals.html#globals_filename) +* `true`: [node.js __filename](https://nodejs.org/api/globals.html#globals_filename) If used inside a expression that is parsed by the Parser, the config option is treated as `true`. diff --git a/src/content/branding.md b/src/content/branding.md index 219a3e83cbbe..e9da7c5e333f 100644 --- a/src/content/branding.md +++ b/src/content/branding.md @@ -63,12 +63,12 @@ T> For those of you following our guidelines and have gotten this far, we've mad ## Font -We use the beautiful [Geomanist Medium](http://geomanist.com/) font from the extremely talented folks at the [Atipo Foundry](http://atipofoundry.com/) who provide the entire font family at a 'pay what you want' model. +We use the beautiful [Geomanist Medium](http://atipofoundry.com/fonts/geomanist) font from the extremely talented folks at the [Atipo Foundry](http://atipofoundry.com/) who provide the entire font family at a 'pay what you want' model. ## Color Palette -The following colors are used throughout the site in various combinations and on our fancy clothing line launched with the help of [Open Collective](http://opencollective.com) and [Threadless](https://medium.com/u/840563ee2a56) over at the [official webpack store](https://webpack.threadless.com/collections/the-final-release-collection/)! +The following colors are used throughout the site in various combinations and on our fancy clothing line launched with the help of [Open Collective](https://opencollective.com/) and [Threadless](https://medium.com/u/840563ee2a56) over at the [official webpack store](https://webpack.threadless.com/collections/the-final-release-collection/)! | Color Name | HEX Code | RGB Code | Sample |---------------|---------------|-----------------------|------------------------------- diff --git a/src/content/comparison.md b/src/content/comparison.md index d42b1ef07d79..dd43b3b9958b 100644 --- a/src/content/comparison.md +++ b/src/content/comparison.md @@ -41,11 +41,11 @@ webpack is not the only module bundler out there. If you are choosing between us | Node.js built-in libs `require("path")` | **yes** | no | **yes** | **yes** | [node-resolve-plugin](https://github.com/rollup/rollup-plugin-node-resolve) | | | Other Node.js stuff | process, __dir/filename, global | - | process, __dir/filename, global | process, __dir/filename, global for cjs | global ([commonjs-plugin](https://github.com/rollup/rollup-plugin-commonjs)) | | | Plugins | **yes** | yes | **yes** | yes | yes | yes | -| Preprocessing | **loaders, [transforms](https://github.com/webpack/transform-loader)** | loaders | transforms | plugin translate | plugin transforms | compilers, optimizers | +| Preprocessing | **loaders, [transforms](https://github.com/webpack-contrib/transform-loader)** | loaders | transforms | plugin translate | plugin transforms | compilers, optimizers | | Replacement for browser | `web_modules`, `.web.js`, package.json field, alias config option | alias option | package.json field, alias option | package.json, alias option | no | | | Requirable files | file system | **web** | file system | through plugins | file system or through plugins | file system | | Runtime overhead | **243B + 20B per module + 4B per dependency** | 14.7kB + 0B per module + (3B + X) per dependency | 415B + 25B per module + (6B + 2X) per dependency | 5.5kB for self-executing bundles, 38kB for full loader and polyfill, 0 plain modules, 293B CJS, 139B ES2015 System.register before gzip | **none for ES2015 modules** (other formats may have) | | -| Watch mode | yes | not required | [watchify](https://github.com/substack/watchify) | not needed in dev | [rollup-watch](https://github.com/rollup/rollup-watch) | yes | +| Watch mode | yes | not required | [watchify](https://github.com/browserify/watchify) | not needed in dev | [rollup-watch](https://github.com/rollup/rollup-watch) | yes | ♦ in production mode (opposite in development mode) diff --git a/src/content/concepts/hot-module-replacement.md b/src/content/concepts/hot-module-replacement.md index 31d604a66876..354142daa16e 100644 --- a/src/content/concepts/hot-module-replacement.md +++ b/src/content/concepts/hot-module-replacement.md @@ -46,7 +46,7 @@ The compiler ensures that module IDs and chunk IDs are consistent between these ### In a Module -HMR is an opt-in feature that only affects modules containing HMR code. One example would be patching styling through the [`style-loader`](https://github.com/webpack/style-loader). In order for patching to work, the `style-loader` implements the HMR interface; when it receives an update through HMR, it replaces the old styles with the new ones. +HMR is an opt-in feature that only affects modules containing HMR code. One example would be patching styling through the [`style-loader`](https://github.com/webpack-contrib/style-loader). In order for patching to work, the `style-loader` implements the HMR interface; when it receives an update through HMR, it replaces the old styles with the new ones. Similarly, when implementing the HMR interface in a module, you can describe what should happen when the module is updated. However, in most cases, it's not mandatory to write HMR code in every module. If a module has no HMR handlers, the update bubbles up. This means that a single handler can update a complete module tree. If a single module from the tree is updated, the entire set of dependencies is reloaded. diff --git a/src/content/configuration/devtool.md b/src/content/configuration/devtool.md index f7d6bfb3982e..93e117a2dc2e 100644 --- a/src/content/configuration/devtool.md +++ b/src/content/configuration/devtool.md @@ -8,7 +8,7 @@ contributors: - lricoy related: - title: Enabling Sourcemaps - url: http://survivejs.com/webpack/developing-with-webpack/enabling-sourcemaps/ + url: https://survivejs.com/webpack/developing-with-webpack/enabling-sourcemaps/ - title: Webpack's Devtool Source Map url: http://cheng.logdown.com/posts/2016/03/25/679045 --- diff --git a/src/content/configuration/output.md b/src/content/configuration/output.md index 6aef7ca68f52..3e5f71e765af 100644 --- a/src/content/configuration/output.md +++ b/src/content/configuration/output.md @@ -680,7 +680,7 @@ publicPath: "../assets/", // relative to HTML page publicPath: "", // relative to HTML page (same directory) ``` -In cases where the `publicPath` of output files can't be known at compile time, it can be left blank and set dynamically at runtime in the entry file using the [free variable](http://stackoverflow.com/questions/12934929/what-are-free-variables) `__webpack_public_path__`. +In cases where the `publicPath` of output files can't be known at compile time, it can be left blank and set dynamically at runtime in the entry file using the [free variable](https://stackoverflow.com/questions/12934929/what-are-free-variables) `__webpack_public_path__`. ``` js __webpack_public_path__ = myRuntimePublicPath diff --git a/src/content/configuration/target.md b/src/content/configuration/target.md index 3697233def6d..901e644ff04e 100644 --- a/src/content/configuration/target.md +++ b/src/content/configuration/target.md @@ -28,8 +28,8 @@ Option | Description `async-node` | Compile for usage in a Node.js-like environment (uses `fs` and `vm` to load chunks asynchronously) ~~`atom`~~ | Alias for `electron-main` ~~`electron`~~ | Alias for `electron-main` -`electron-main` | Compile for [Electron](http://electron.atom.io/) for main process. -`electron-renderer` | Compile for [Electron](http://electron.atom.io/) for renderer process, providing a target using `JsonpTemplatePlugin`, `FunctionModulePlugin` for browser environments and `NodeTargetPlugin` and `ExternalsPlugin` for CommonJS and Electron built-in modules. +`electron-main` | Compile for [Electron](https://electronjs.org/) for main process. +`electron-renderer` | Compile for [Electron](https://electronjs.org/) for renderer process, providing a target using `JsonpTemplatePlugin`, `FunctionModulePlugin` for browser environments and `NodeTargetPlugin` and `ExternalsPlugin` for CommonJS and Electron built-in modules. `node` | Compile for usage in a Node.js-like environment (uses Node.js `require` to load chunks) `node-webkit` | Compile for usage in WebKit and uses JSONP for chunk loading. Allows importing of built-in Node.js modules and [`nw.gui`](http://docs.nwjs.io/en/latest/) (experimental) `web` | Compile for usage in a browser-like environment **(default)** diff --git a/src/content/configuration/watch.md b/src/content/configuration/watch.md index 475440ef353c..9ea5ce168d6f 100644 --- a/src/content/configuration/watch.md +++ b/src/content/configuration/watch.md @@ -57,7 +57,7 @@ For some systems, watching many file systems can result in a lot of CPU or memor ignored: /node_modules/ ``` -It is also possible to use [anymatch](https://github.com/es128/anymatch) patterns: +It is also possible to use [anymatch](https://github.com/micromatch/anymatch) patterns: ```js ignored: "files/**/*.js" @@ -68,7 +68,7 @@ ignored: "files/**/*.js" `boolean` `number` -Turn on [polling](http://whatis.techtarget.com/definition/polling) by passing `true`, or specifying a poll interval in milliseconds: +Turn on [polling](https://whatis.techtarget.com/definition/polling) by passing `true`, or specifying a poll interval in milliseconds: ```js poll: 1000 // Check for changes every second diff --git a/src/content/contribute/index.md b/src/content/contribute/index.md index b8016d688c84..477fde49da82 100644 --- a/src/content/contribute/index.md +++ b/src/content/contribute/index.md @@ -9,7 +9,7 @@ contributors: - tbroadley --- -The people who contribute to webpack do so for the love of open source, our users and ecosystem, and most importantly, pushing the web forward together. Because of our [Open Collective](http://opencollective.com/webpack) model for funding and transparency, we are able to funnel support and funds through contributors, dependent projects, and the contributor and core teams. To make a donation, simply click the button below... +The people who contribute to webpack do so for the love of open source, our users and ecosystem, and most importantly, pushing the web forward together. Because of our [Open Collective](https://opencollective.com//webpack) model for funding and transparency, we are able to funnel support and funds through contributors, dependent projects, and the contributor and core teams. To make a donation, simply click the button below...
diff --git a/src/content/guides/caching.md b/src/content/guides/caching.md index 1b52fb139003..7a7d3384d8b0 100644 --- a/src/content/guides/caching.md +++ b/src/content/guides/caching.md @@ -10,7 +10,7 @@ related: - title: Predictable Long Term Caching url: https://medium.com/webpack/predictable-long-term-caching-with-webpack-d3eee1d3fa31 - title: Long Term Caching of Static Assets - url: https://medium.com/@okonetchnikov/long-term-caching-of-static-assets-with-webpack-1ecb139adb95#.vtwnssps4 + url: https://codeburst.io/long-term-caching-of-static-assets-with-webpack-1ecb139adb95?gi=9e32667ae5c5#.vtwnssps4 - title: Webpack & Caching url: https://gist.github.com/sokra/ff1b0290282bfa2c037bdb6dcca1a7aa - title: Advanced Webpack Presentation @@ -23,7 +23,7 @@ related: T> The examples in this guide stem from [getting started](/guides/getting-started), [output management](/guides/output-management) and [code splitting](/guides/code-splitting). -So we're using webpack to bundle our modular application which yields a deployable `/dist` directory. Once the contents of `/dist` have been deployed to a server, clients (typically browsers) will hit that server to grab the site and its assets. The last step can be time consuming, which is why browsers use a technique called [caching](http://searchstorage.techtarget.com/definition/cache). This allows sites to load faster with less unnecessary network traffic, however it can also cause headaches when you need new code to be picked up. +So we're using webpack to bundle our modular application which yields a deployable `/dist` directory. Once the contents of `/dist` have been deployed to a server, clients (typically browsers) will hit that server to grab the site and its assets. The last step can be time consuming, which is why browsers use a technique called [caching](https://searchstorage.techtarget.com/definition/cache). This allows sites to load faster with less unnecessary network traffic, however it can also cause headaches when you need new code to be picked up. This guide focuses on the configuration needed to ensure files produced by webpack compilation can remain cached unless their contents has changed. diff --git a/src/content/guides/code-splitting.md b/src/content/guides/code-splitting.md index d8e8b59c0a05..efdade9356c1 100644 --- a/src/content/guides/code-splitting.md +++ b/src/content/guides/code-splitting.md @@ -300,7 +300,7 @@ Once you start splitting your code, it can be useful to analyze the output to ch - [webpack-chart](https://alexkuz.github.io/webpack-chart/): Interactive pie chart for webpack stats. - [webpack-visualizer](https://chrisbateman.github.io/webpack-visualizer/): Visualize and analyze your bundles to see which modules are taking up space and which might be duplicates. -- [webpack-bundle-analyzer](https://github.com/th0r/webpack-bundle-analyzer): A plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap. +- [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer): A plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap. ## Next Steps diff --git a/src/content/guides/hot-module-replacement.md b/src/content/guides/hot-module-replacement.md index 46934136b33f..c31f0c0e64aa 100644 --- a/src/content/guides/hot-module-replacement.md +++ b/src/content/guides/hot-module-replacement.md @@ -33,7 +33,7 @@ W> __HMR__ is not intended for use in production, meaning it should only be used This feature is great for productivity. All we need to do is update our [webpack-dev-server](https://github.com/webpack/webpack-dev-server) configuration, and use webpack's built in HMR plugin. We'll also remove the entry point for `print.js` as it will now be consumed by the `index.js` module. -T> If you took the route of using `webpack-dev-middleware` instead of `webpack-dev-server`, please use the [`webpack-hot-middleware`](https://github.com/glenjamin/webpack-hot-middleware) package to enable HMR on your custom server or application. +T> If you took the route of using `webpack-dev-middleware` instead of `webpack-dev-server`, please use the [`webpack-hot-middleware`](https://github.com/webpack-contrib/webpack-hot-middleware) package to enable HMR on your custom server or application. __webpack.config.js__ @@ -162,7 +162,7 @@ server.listen(5000, 'localhost', () => { }); ``` -T> If you're [using `webpack-dev-middleware`](/guides/development#using-webpack-dev-middleware), check out the [`webpack-hot-middleware`](https://github.com/glenjamin/webpack-hot-middleware) package to enable HMR on your custom dev server. +T> If you're [using `webpack-dev-middleware`](/guides/development#using-webpack-dev-middleware), check out the [`webpack-hot-middleware`](https://github.com/webpack-contrib/webpack-hot-middleware) package to enable HMR on your custom dev server. ## Gotchas @@ -340,6 +340,6 @@ There are many other loaders and examples out in the community to make HMR inter - [Vue Loader](https://github.com/vuejs/vue-loader): This loader supports HMR for vue components out of the box. - [Elm Hot Loader](https://github.com/fluxxu/elm-hot-loader): Supports HMR for the Elm programming language. - [Redux HMR](https://survivejs.com/webpack/appendices/hmr-with-react/#configuring-hmr-with-redux): No loader or plugin necessary! A simple change to your main store file is all that's required. -- [Angular HMR](https://github.com/AngularClass/angular-hmr): No loader necessary! A simple change to your main NgModule file is all that's required to have full control over the HMR APIs. +- [Angular HMR](https://github.com/gdi2290/angular-hmr): No loader necessary! A simple change to your main NgModule file is all that's required to have full control over the HMR APIs. T> If you know of any other loaders or plugins that help with or enhance Hot Module Replacement please submit a pull request to add to this list! diff --git a/src/content/guides/migrating.md b/src/content/guides/migrating.md index faca01aae0b4..c9612dc098c5 100644 --- a/src/content/guides/migrating.md +++ b/src/content/guides/migrating.md @@ -144,7 +144,7 @@ See [#2986](https://github.com/webpack/webpack/issues/2986) for the reason behin ## `json-loader` is not required anymore When no loader has been configured for a JSON file, webpack will automatically try to load the JSON -file with the [`json-loader`](https://github.com/webpack/json-loader). +file with the [`json-loader`](https://github.com/webpack-contrib/json-loader). ``` diff module: { @@ -283,7 +283,7 @@ Thus make sure to remove the plugin from your configuration: ## `ExtractTextWebpackPlugin` - breaking change -[ExtractTextPlugin](https://github.com/webpack/extract-text-webpack-plugin) requires version 2 to work with webpack 2. +[ExtractTextPlugin](https://github.com/webpack-contrib/extract-text-webpack-plugin) requires version 2 to work with webpack 2. `npm install --save-dev extract-text-webpack-plugin` diff --git a/src/content/guides/production.md b/src/content/guides/production.md index 445c21a11276..ca849cd90b52 100644 --- a/src/content/guides/production.md +++ b/src/content/guides/production.md @@ -211,7 +211,7 @@ __webpack.prod.js__ T> Technically, `NODE_ENV` is a system environment variable that Node.js exposes into running scripts. It is used by convention to determine dev-vs-prod behavior by server tools, build scripts, and client-side libraries. Contrary to expectations, `process.env.NODE_ENV` is not set to `"production"` __within__ the build script `webpack.config.js`, see [#2537](https://github.com/webpack/webpack/issues/2537). Thus, conditionals like `process.env.NODE_ENV === 'production' ? '[name].[hash].bundle.js' : '[name].bundle.js'` within webpack configurations do not work as expected. -If you're using a library like [`react`](https://facebook.github.io/react/), you should actually see a significant drop in bundle size after adding this plugin. Also note that any of our local `/src` code can key off of this as well, so the following check would be valid: +If you're using a library like [`react`](https://reactjs.org/), you should actually see a significant drop in bundle size after adding this plugin. Also note that any of our local `/src` code can key off of this as well, so the following check would be valid: __src/index.js__ diff --git a/src/content/guides/shimming.md b/src/content/guides/shimming.md index b0ec5b117464..c42ed44e37f3 100644 --- a/src/content/guides/shimming.md +++ b/src/content/guides/shimming.md @@ -428,7 +428,7 @@ If we run our build, another `polyfills.bundle.js` file will be emitted and ever ## Further Optimizations -The `babel-preset-env` package uses [browserslist](https://github.com/ai/browserslist) to transpile only what is not supported in your browsers matrix. This preset comes with the `useBuiltIns` option, `false` by default, which converts your global `babel-polyfill` import to a more granular feature by feature `import` pattern: +The `babel-preset-env` package uses [browserslist](https://github.com/browserslist/browserslist) to transpile only what is not supported in your browsers matrix. This preset comes with the `useBuiltIns` option, `false` by default, which converts your global `babel-polyfill` import to a more granular feature by feature `import` pattern: ``` js import 'core-js/modules/es7.string.pad-start'; diff --git a/src/content/loaders/index.md b/src/content/loaders/index.md index 38fe849649d7..cb6ecd9a1051 100644 --- a/src/content/loaders/index.md +++ b/src/content/loaders/index.md @@ -22,7 +22,7 @@ Loaders are activated by using `loadername!` prefixes in `require()` statements, ## JSON * [`json-loader`](/loaders/json-loader) Loads a [JSON](http://json.org/) file (included by default) -* [`json5-loader`](/loaders/json5-loader) Loads and transpiles a [JSON 5](http://json5.org/) file +* [`json5-loader`](/loaders/json5-loader) Loads and transpiles a [JSON 5](https://json5.org/) file * `cson-loader` Loads and transpiles a [CSON](https://github.com/bevry/cson#what-is-cson) file @@ -60,7 +60,7 @@ Loaders are activated by using `loadername!` prefixes in `require()` statements, ## Linting && Testing * [`mocha-loader`](/loaders/mocha-loader) Tests with [mocha](https://mochajs.org/) (Browser/NodeJS) -* [`eslint-loader`](https://github.com/MoOx/eslint-loader) PreLoader for linting code using [ESLint](http://eslint.org/) +* [`eslint-loader`](https://github.com/webpack-contrib/eslint-loader) PreLoader for linting code using [ESLint](https://eslint.org/) * [`jshint-loader`](/loaders/jshint-loader) PreLoader for linting code using [JSHint](http://jshint.com/about/) * `jscs-loader` PreLoader for code style checking using [JSCS](http://jscs.info/) * [`coverjs-loader`](/loaders/coverjs-loader) PreLoader to determine the testing coverage using [CoverJS](https://github.com/arian/CoverJS) diff --git a/src/content/plugins/commons-chunk-plugin.md b/src/content/plugins/commons-chunk-plugin.md index a21dcc836035..4b11292660ed 100644 --- a/src/content/plugins/commons-chunk-plugin.md +++ b/src/content/plugins/commons-chunk-plugin.md @@ -120,7 +120,7 @@ plugins: [ ``` -T> In combination with long term caching you may need to use the [`ChunkManifestWebpackPlugin`](https://github.com/diurnalist/chunk-manifest-webpack-plugin) to avoid the vendor chunk changes. You should also use records to ensure stable module ids, e.g. using [`NamedModulesPlugin`](/plugins/named-modules-plugin) or [`HashedModuleIdsPlugin`](/plugins/hashed-module-ids-plugin). +T> In combination with long term caching you may need to use the [`ChunkManifestWebpackPlugin`](https://github.com/soundcloud/chunk-manifest-webpack-plugin) to avoid the vendor chunk changes. You should also use records to ensure stable module ids, e.g. using [`NamedModulesPlugin`](/plugins/named-modules-plugin) or [`HashedModuleIdsPlugin`](/plugins/hashed-module-ids-plugin). ### Move common modules into the parent chunk diff --git a/src/content/plugins/dll-plugin.md b/src/content/plugins/dll-plugin.md index 31b1357d69c2..ba1ddfadd9e3 100644 --- a/src/content/plugins/dll-plugin.md +++ b/src/content/plugins/dll-plugin.md @@ -8,7 +8,7 @@ contributors: - skipjack related: - title: Code Splitting Example - url: https://github.com/webpack/webpack/tree/master/examples/explicit-vendor-chunk/README.md + url: https://github.com/webpack/webpack/blob/master/examples/explicit-vendor-chunk/README.md --- The `DllPlugin` and `DllReferencePlugin` provide means to split bundles in a way that can drastically improve build time performance. @@ -108,14 +108,14 @@ T> Multiple `DllPlugins` and multiple `DllReferencePlugins`. ### Source -* [DllPlugin source](https://github.com/webpack/webpack/tree/master/lib/DllPlugin.js) -* [DllReferencePlugin source](https://github.com/webpack/webpack/tree/master/lib/DllReferencePlugin.js) +* [DllPlugin source](https://github.com/webpack/webpack/blob/master/lib/DllPlugin.js) +* [DllReferencePlugin source](https://github.com/webpack/webpack/blob/master/lib/DllReferencePlugin.js) * [DllEntryPlugin source](https://github.com/webpack/webpack/blob/master/lib/DllEntryPlugin.js) * [DllModuleFactory source](https://github.com/webpack/webpack/blob/master/lib/DllModuleFactory.js) * [ManifestPlugin source](https://github.com/webpack/webpack/blob/master/lib/LibManifestPlugin.js) ### Tests -* [DllPlugin creation test](https://github.com/webpack/webpack/tree/master/test/configCases/dll-plugin/0-create-dll/webpack.config.js) -* [DllPlugin without scope test](https://github.com/webpack/webpack/tree/master/test/configCases/dll-plugin/2-use-dll-without-scope/webpack.config.js) +* [DllPlugin creation test](https://github.com/webpack/webpack/blob/master/test/configCases/dll-plugin/0-create-dll/webpack.config.js) +* [DllPlugin without scope test](https://github.com/webpack/webpack/blob/master/test/configCases/dll-plugin/2-use-dll-without-scope/webpack.config.js) * [DllReferencePlugin use Dll test](https://github.com/webpack/webpack/tree/master/test/configCases/dll-plugin) diff --git a/src/content/plugins/html-webpack-plugin.md b/src/content/plugins/html-webpack-plugin.md index 2b10fde83202..592b85bf4960 100644 --- a/src/content/plugins/html-webpack-plugin.md +++ b/src/content/plugins/html-webpack-plugin.md @@ -5,7 +5,7 @@ contributors: - simon04 --- -The [`HtmlWebpackPlugin`](https://github.com/ampedandwired/html-webpack-plugin) simplifies creation of HTML files to serve your webpack bundles. This is especially useful for webpack bundles that include a hash in the filename which changes every compilation. You can either let the plugin generate an HTML file for you, supply your own template using [lodash templates](https://lodash.com/docs#template), or use your own [loader](/loaders). +The [`HtmlWebpackPlugin`](https://github.com/jantimon/html-webpack-plugin) simplifies creation of HTML files to serve your webpack bundles. This is especially useful for webpack bundles that include a hash in the filename which changes every compilation. You can either let the plugin generate an HTML file for you, supply your own template using [lodash templates](https://lodash.com/docs#template), or use your own [loader](/loaders). ## Installation @@ -60,9 +60,9 @@ then these will be included with `` tags in the HTML head. ## Configuration -For all configuration options, please see the [plugin documentation](https://github.com/ampedandwired/html-webpack-plugin#configuration). +For all configuration options, please see the [plugin documentation](https://github.com/jantimon/html-webpack-plugin#configuration). ## Third party addons -The plugin supports addons. For a list see the [documentation](https://github.com/ampedandwired/html-webpack-plugin#third-party-addons). +The plugin supports addons. For a list see the [documentation](https://github.com/jantimon/html-webpack-plugin#third-party-addons).