mirror of https://github.com/webpack/webpack.git
Merge pull request #13519 from Akshay0701/patch-1
[Documentation]capitalized first letter of sentence
This commit is contained in:
commit
28d8e4e2f9
20
README.md
20
README.md
|
|
@ -40,7 +40,7 @@
|
|||
</a>
|
||||
<h1>webpack</h1>
|
||||
<p>
|
||||
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
|
||||
Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ yarn add webpack --dev
|
|||
|
||||
<h2 align="center">Introduction</h2>
|
||||
|
||||
webpack is a bundler for modules. The main purpose is to bundle JavaScript
|
||||
Webpack is a bundler for modules. The main purpose is to bundle JavaScript
|
||||
files for usage in a browser, yet it is also capable of transforming, bundling,
|
||||
or packaging just about any resource or asset.
|
||||
|
||||
|
|
@ -95,14 +95,14 @@ Check out webpack's quick [**Get Started**](https://webpack.js.org/guides/gettin
|
|||
|
||||
### Browser Compatibility
|
||||
|
||||
webpack supports all browsers that are [ES5-compliant](https://kangax.github.io/compat-table/es5/) (IE8 and below are not supported).
|
||||
webpack also needs `Promise` for `import()` and `require.ensure()`. If you want to support older browsers, you will need to [load a polyfill](https://webpack.js.org/guides/shimming/) before using these expressions.
|
||||
Webpack supports all browsers that are [ES5-compliant](https://kangax.github.io/compat-table/es5/) (IE8 and below are not supported).
|
||||
Webpack also needs `Promise` for `import()` and `require.ensure()`. If you want to support older browsers, you will need to [load a polyfill](https://webpack.js.org/guides/shimming/) before using these expressions.
|
||||
|
||||
<h2 align="center">Concepts</h2>
|
||||
|
||||
### [Plugins](https://webpack.js.org/plugins/)
|
||||
|
||||
webpack has a [rich plugin
|
||||
Webpack has a [rich plugin
|
||||
interface](https://webpack.js.org/plugins/). Most of the features
|
||||
within webpack itself use this plugin interface. This makes webpack very
|
||||
**flexible**.
|
||||
|
|
@ -129,7 +129,7 @@ within webpack itself use this plugin interface. This makes webpack very
|
|||
|
||||
### [Loaders](https://webpack.js.org/loaders/)
|
||||
|
||||
webpack enables the use of loaders to preprocess files. This allows you to bundle
|
||||
Webpack enables the use of loaders to preprocess files. This allows you to bundle
|
||||
**any static resource** way beyond JavaScript. You can easily [write your own
|
||||
loaders](https://webpack.js.org/api/loaders/) using Node.js.
|
||||
|
||||
|
|
@ -249,23 +249,23 @@ or are automatically applied via regex from your webpack configuration.
|
|||
|
||||
### Performance
|
||||
|
||||
webpack uses async I/O and has multiple caching levels. This makes webpack fast
|
||||
Webpack uses async I/O and has multiple caching levels. This makes webpack fast
|
||||
and incredibly **fast** on incremental compilations.
|
||||
|
||||
### Module Formats
|
||||
|
||||
webpack supports ES2015+, CommonJS and AMD modules **out of the box**. It performs clever static
|
||||
Webpack supports ES2015+, CommonJS and AMD modules **out of the box**. It performs clever static
|
||||
analysis on the AST of your code. It even has an evaluation engine to evaluate
|
||||
simple expressions. This allows you to **support most existing libraries** out of the box.
|
||||
|
||||
### [Code Splitting](https://webpack.js.org/guides/code-splitting/)
|
||||
|
||||
webpack allows you to split your codebase into multiple chunks. Chunks are
|
||||
Webpack allows you to split your codebase into multiple chunks. Chunks are
|
||||
loaded asynchronously at runtime. This reduces the initial loading time.
|
||||
|
||||
### [Optimizations](https://webpack.js.org/guides/production-build/)
|
||||
|
||||
webpack can do many optimizations to **reduce the output size of your
|
||||
Webpack can do many optimizations to **reduce the output size of your
|
||||
JavaScript** by deduplicating frequently used modules, minifying, and giving
|
||||
you full control of what is loaded initially and what is loaded at runtime
|
||||
through code splitting. It can also make your code chunks **cache
|
||||
|
|
|
|||
Loading…
Reference in New Issue