Skip to content

Commit 18b7f14

Browse files
committed
added some documentation content notes
1 parent 6699166 commit 18b7f14

26 files changed

+160
-0
lines changed

src/content/feature-guides/caching.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> https://gist.github.com/sokra/ff1b0290282bfa2c037bdb6dcca1a7aa
2+
> [hash], [chunkhash], CommonsChunkPlugin, NamedModulesPlugin, HashedModuleIdsPlugin, records
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
> what is code splitting
2+
> System.import
3+
> dynamic System.import
4+
> require.ensure
5+
> AMD require
6+
7+
> see also [[Output]]
8+
> see also [[dynamic dependencies]]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
> require.main
2+
> require.cache
3+
> module.loaded
4+
> global
5+
> process
6+
> __dirname
7+
> __filename
8+
> module.id
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> es6 modules
2+
> commonjs
3+
> amd
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> devtool
2+
> output.pathinfo
3+
> hot module replacement
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> require with expression
2+
> require.context
3+
>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> single entry
2+
> array entry
3+
> multiple entries
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
> library option
2+
> externals option
3+
4+
> see also [[Output]]

src/content/feature-guides/output.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
> output.path
2+
> output.filename
3+
> output.publicPath
4+
> output.chunkFilename
5+
> output.jsonpFunction
6+
> ...
7+
8+
> see also [[library and externals]]
9+
> see also [[Development Tools]]

src/content/feature-guides/production-build.md

Whitespace-only changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> how webpack resolves requests
2+
> incl. resolving options
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
> import-loader
2+
> exports-loader
3+
> expose-loader
4+
> ProvidePlugin
5+
> script-loader

src/content/feature-guides/target.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
> webworker
2+
> node
3+
> async-node
4+
> node-webkit
5+
> electron
6+
> electron-main
7+
> electron-renderer
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
> installation
2+
> compile a single file
3+
> compile two files
4+
> reference a npm module
5+
> create a configuration file
6+
7+
> see also [[Using the CLI]], [[Using the configuration]]

src/content/index.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# webpack documentation
2+
3+
...
4+
5+
## Getting started
6+
7+
[[Getting started]]
8+
9+
## Usage
10+
11+
[[Using the CLI]]
12+
13+
[[Using the configuration]]
14+
15+
[[Using the API]]
16+
17+
[[Using loaders]]
18+
19+
[[Using plugins]]
20+
21+
[[Using watch and dev server]]
22+
23+
## Feature guides
24+
25+
[[Entry points]]
26+
27+
[[Dependencies]]
28+
29+
[[Resolving]]
30+
31+
[[Dynamic dependencies]]
32+
33+
[[Code Splitting]]
34+
35+
[[Output]]
36+
37+
[[Development Tools]]
38+
39+
[[Library and externals]]
40+
41+
[[Caching]]
42+
43+
[[Shimming]]
44+
45+
[[Compatiblity]]
46+
47+
[[Target]]
48+
49+
[[Production Build]]
50+
51+
## Support
52+
53+
[[Common problems]]
54+
55+
[[Build performance]]
56+
57+
[[FAQ]]
58+
59+
[[Upgrading from older version]]
60+
61+
[[Changelog]]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
> incremental builds
2+
> profile
3+
> analyse tool
4+
> dirty chunks ([chunkhash])
5+
> source maps
6+
> PrefetchPlugin
7+
> resolving
8+
> DllPlugin
9+
10+
> see also [[devepment tools]]
11+
> see also [[resolving]]

src/content/support/changelog.md

Whitespace-only changes.

src/content/support/common-problems.md

Whitespace-only changes.

src/content/support/faq.md

Whitespace-only changes.

src/content/support/upgrading-from-older-version.md

Whitespace-only changes.

src/content/usage/using-loaders.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> module.loaders configuration option
2+
> test, include, exclude, loader, query

src/content/usage/using-plugins.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
> plugins configuration option

src/content/usage/using-the-api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
> webpack()
2+
> run()
3+
> compile()
4+
> watch()

src/content/usage/using-the-cli.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
> Cli call
2+
> Cli options
3+
> --config
4+
5+
> see also [[Using the configuration]]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
> configuration file
2+
> possible extensions, i. e. .babel.js
3+
> exporting a function and --env
4+
> returning a Promise
5+
> exporting multiple configurations
6+
7+
> see also [[Using the Cli]]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
> watch
2+
> caching
3+
> dev middleware
4+
> in memory compilation
5+
> dev server

0 commit comments

Comments
 (0)