Tobias Koppers
2209b8aca6
rebuild examples
2019-01-25 13:17:05 +01:00
Steven Hargrove
780c17e202
fix side-effects example
2019-01-25 13:17:00 +01:00
Tobias Koppers
2fe0ba5014
Normalize backslash on windows
2019-01-25 13:14:47 +01:00
darrelfrancis
e2abdaec74
Fix minor typos, improve clarity of README
...
This is done via the template.md file which is used to build README.md
2018-12-27 07:14:01 +00:00
Tobias Koppers
f6d67b6605
update examples
2018-12-19 11:36:59 +01:00
Ed Morley
311a7285d3
Switch from uglifyjs-webpack-plugin to terser-webpack-plugin
...
Some history:
* `uglifyjs-webpack-plugin` < v1.0 used the minifier `uglify-js`
* however `uglify-js` does not support ES6, which resulted in a fork
called `uglify-es` that was developed in the `uglify-js` repository,
but under the `harmony` branch
* `uglifyjs-webpack-plugin` v1.x switched to `uglify-es` for ES6 support
* however `uglify-es` stopped being maintained:
https://github.com/mishoo/UglifyJS2/issues/3156#issuecomment-392943058
* which led to a fork called `terser` that has incorporated all of
the unmerged PRs and will be where all new development occurs:
https://github.com/fabiosantoscode/terser
* `terser-webpack-plugin` was created, which is the `terser` equivalent
of `uglifyjs-webpack-plugin`:
https://github.com/webpack-contrib/terser-webpack-plugin
* `uglifyjs-webpack-plugin` v2.x will be switching back to `uglify-js`,
so any project that needs to support ES6 now needs to switch to
`terser-webpack-plugin`.
Fixes #7923 .
2018-11-18 22:56:10 +03:00
Tobias Koppers
140be99343
improve build script
2018-10-29 11:29:06 +01:00
Kevin McCormack
3312eb57cc
Update examples README
...
Running `yarn` does not seem to work here.
We need to run `yarn setup` before we can run `yarn link webpack`.
2018-10-28 13:20:46 -04:00
Tobias Koppers
54e30e05c0
update examples
2018-09-25 17:10:38 +02:00
Eugen Cazacu
6126ec7f2e
Update README.md
2018-07-29 15:11:11 +02:00
Eugen Cazacu
37ae7c30da
Update increment.js
2018-07-29 15:10:19 +02:00
Eugen Cazacu
614f2ad1f5
Update example.js
...
update to newer syntax
2018-07-28 22:46:31 +02:00
ferhat elmas
271b77d45f
all: typo fixes
2018-07-09 22:54:35 +02:00
Tobias Koppers
34b0c7c684
Merge pull request #6906 from stepharr/patch-1
...
Fixing grammar issues in webpack example
2018-06-28 14:02:11 +02:00
Tobias Koppers
ef2ec255dd
update template.md too
2018-06-28 11:17:41 +02:00
arkadyt
1e7b4e9a5e
Remove dead links from /examples README.md.
2018-06-22 10:02:38 -07:00
Tobias Koppers
23beeab7e0
Merge pull request #7345 from stepharr/master
...
Fixing grammar issues in webpack example #6906
2018-06-06 21:10:29 +02:00
Tobias Koppers
86016594db
update README too
2018-06-06 20:45:02 +02:00
Tobias Koppers
5feb7e69db
Merge pull request #7174 from JLHwung/revise-examples-build-readme
...
docs(examples): add yarn add webpack-cli step
2018-05-25 22:44:42 +02:00
Aliaksei Sapach
aa99385b9a
added a note about production mode
2018-05-24 15:15:41 +03:00
Aliaksei Sapach
afca267ae6
added entry-only example
2018-05-22 23:27:41 +03:00
Stephon Harris
9dc758316a
Fixing grammar issues
2018-05-19 00:56:19 -04:00
Tobias Koppers
5930cf54b9
add split chunks example
2018-05-17 20:48:16 +02:00
Oded Niv
17fd4d8b48
Align 'Cannot find module' message with native NodeJS
2018-05-15 09:24:16 +03:00
Tobias Koppers
75c6416cfe
updated examples
2018-05-07 13:36:54 +02:00
Huáng Jùnliàng
64db3064c7
docs(examples): add yarn add webpack-cli step
...
Running node_modules/bin/webpack without webpack-cli installed will get hang.
The culprit is that webpack expects a stdin of whether to install webpack-cli or not. However, as examples/build-common use `child_process.exec` to execute `webpack`, the user will not be prompted for any questions since the stdin is not piped and the stdout will be pass to parent process only after the child process exits. We can keep build-common simple by instructing devs to install webpack-cli before they build examples.
Also rewrite the install step using yarn since we use yarn in webpack.
2018-05-02 18:12:24 +08:00
Tobias Koppers
f5bd213f4c
Update examples
2018-04-04 15:18:18 +02:00
Stephon Harris
30d3be5a53
Fixing grammar issues
2018-03-29 09:28:03 -04:00
rhysd
81e47b6eaf
Fix typos
2018-03-13 18:05:58 +09:00
Josh Soref
dded403558
spelling: verify
2018-02-26 02:50:43 +00:00
Josh Soref
74b060a08e
spelling: separately
2018-02-26 02:43:09 +00:00
Josh Soref
2ee033b4bc
spelling: separate
2018-02-26 02:43:19 +00:00
Josh Soref
82b81eb1dc
spelling: practice
2018-02-26 02:39:48 +00:00
Josh Soref
89932f0d71
spelling: equivalent
2018-02-26 02:28:07 +00:00
Josh Soref
885a8df729
spelling: concatenation
2018-02-26 02:26:51 +00:00
Josh Soref
b39266121a
spelling: assembly
2018-02-26 02:25:03 +00:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Naveen Jain
6bf5df53a3
Fixed template.md
2018-02-24 13:25:46 +01:00
Tobias Koppers
221d2cee43
Merge pull request #6470 from suguru03/feature/neo-async
...
replace Async with Neo-Async
2018-02-19 14:06:59 +01:00
Tobias Koppers
0b13cf19a1
update examples
2018-02-17 14:14:14 +01:00
Tobias Koppers
ff224044f7
fix example
2018-02-17 13:35:06 +01:00
Tobias Koppers
33c907e1b7
Merge branch 'master' into next
...
# Conflicts:
# examples/aggressive-merging/README.md
# examples/chunkhash/README.md
# examples/code-splitted-css-bundle/README.md
# examples/code-splitted-require.context-amd/README.md
# examples/code-splitted-require.context/README.md
# examples/code-splitting-bundle-loader/README.md
# examples/code-splitting-harmony/README.md
# examples/code-splitting-native-import-context/README.md
# examples/code-splitting-specify-chunk-name/README.md
# examples/code-splitting/README.md
# examples/coffee-script/README.md
# examples/common-chunk-and-vendor-chunk/README.md
# examples/common-chunk-grandchildren/README.md
# examples/commonjs/README.md
# examples/css-bundle/README.md
# examples/dll-app-and-vendor/0-vendor/README.md
# examples/dll-app-and-vendor/1-app/README.md
# examples/dll-user/README.md
# examples/dll/README.md
# examples/explicit-vendor-chunk/README.md
# examples/externals/README.md
# examples/extra-async-chunk-advanced/README.md
# examples/extra-async-chunk/README.md
# examples/harmony-interop/README.md
# examples/harmony-library/README.md
# examples/harmony-unused/README.md
# examples/harmony/README.md
# examples/http2-aggressive-splitting/README.md
# examples/hybrid-routing/README.md
# examples/i18n/README.md
# examples/loader/README.md
# examples/mixed/README.md
# examples/move-to-parent/README.md
# examples/multi-compiler/README.md
# examples/multi-part-library/README.md
# examples/multiple-commons-chunks/README.md
# examples/multiple-entry-points-commons-chunk-css-bundle/README.md
# examples/multiple-entry-points/README.md
# examples/named-chunks/README.md
# examples/require.context/README.md
# examples/require.resolve/README.md
# examples/scope-hoisting/README.md
# examples/source-map/README.md
# examples/two-explicit-vendor-chunks/README.md
# examples/web-worker/README.md
# package.json
2018-02-13 10:18:53 +01:00
Suguru Motegi
864e563173
replace Async with Neo-Async
2018-02-11 14:31:08 -08:00
Tobias Koppers
f01054664f
update examples
2018-02-10 15:40:10 +01:00
Tobias Koppers
d518b36de7
update examples
2018-02-10 15:09:46 +01:00
Tobias Koppers
0b566508fb
hide buildAt in examples
2018-02-10 15:09:34 +01:00
Tobias Koppers
6f1b6d9d98
fix chunkhash example
2018-02-10 15:04:45 +01:00
Tobias Koppers
042e36aae6
update examples
2018-01-24 23:23:34 +01:00
Tobias Koppers
bfe89fb92f
update examples
2018-01-22 15:18:54 +01:00
Tobias Koppers
d043323305
update commons/vendor chunk example
2018-01-22 15:18:41 +01:00