You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
# Introduction
8
8
9
-
webpack is a bundler for modules. The main purpose is to bundle javascript
9
+
webpack is a bundler for modules. The main purpose is to bundle JavaScript
10
10
files for usage in a browser, yet it is also capable of transforming, bundling,
11
11
or packaging just about any resource or asset.
12
12
@@ -16,7 +16,7 @@ or packaging just about any resource or asset.
16
16
* Bundles both [CommonJs](http://www.commonjs.org/specs/modules/1.0/) and [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) modules (even combined).
17
17
* Can create a single bundle or multiple chunks that are asynchronously loaded at runtime (to reduce initial loading time).
18
18
* Dependencies are resolved during compilation reducing the runtime size.
19
-
* Loaders can preprocess files while compiling, e.g. coffeescript to javascript, handlebars strings to compiled functions, images to Base64, etc.
19
+
* Loaders can preprocess files while compiling, e.g. coffeescript to JavaScript, handlebars strings to compiled functions, images to Base64, etc.
20
20
* Highly modular plugin system to do whatever else your application requires.
21
21
22
22
# Getting Started
@@ -56,7 +56,7 @@ and incredibly **fast** on incremental compilations.
56
56
## Loaders
57
57
58
58
webpack enables use of loaders to preprocess files. This allows you to bundle
59
-
**any static resource** way beyond javascript. You can easily [write your own
59
+
**any static resource** way beyond JavaScript. You can easily [write your own
60
60
loaders](http://webpack.github.io/docs/loaders.html) using node.js.
61
61
62
62
Loaders are activated by using `loadername!` prefixes in `require()` statements,
@@ -128,7 +128,7 @@ loaded asynchronously at runtime. This reduces the initial loading time.
128
128
## Optimizations
129
129
130
130
webpack can do many optimizations to **reduce the output size of your
131
-
javascript** by deduplicating frequently used modules, minifying, and giving
131
+
JavaScript** by deduplicating frequently used modules, minifying, and giving
132
132
you full control of what is loaded initially and what is loaded at runtime
133
133
through code splitting. It can also can make your code chunks **cache
134
134
friendly** by using hashes.
@@ -240,7 +240,7 @@ MIT (http://www.opensource.org/licenses/mit-license.php)
240
240
241
241
(In chronological order)
242
242
243
-
*@google for [Google Web Toolkit (GWT)](https://code.google.com/p/google-web-toolkit), which aims to compile Java to Javascript. It features a similar [Code Splitting](https://code.google.com/p/google-web-toolkit/wiki/CodeSplitting) as webpack.
243
+
*@google for [Google Web Toolkit (GWT)](https://code.google.com/p/google-web-toolkit), which aims to compile Java to JavaScript. It features a similar [Code Splitting](https://code.google.com/p/google-web-toolkit/wiki/CodeSplitting) as webpack.
244
244
*@medikoo for [modules-webmake](https://github.com/medikoo/modules-webmake), which is a simlar project. webpack was born because I wanted Code Splitting for modules-webpack. Interestingly the [Code Splitting issue is still open](https://github.com/medikoo/modules-webmake/issues/7) (thanks also to @Phoscur for the discussion).
245
245
*@substack for [browserify](http://browserify.org/), which is a similar project and source for many ideas.
246
246
*@jrburke for [require.js](http://requirejs.org/), which is a similar project and source for many ideas.
0 commit comments