Commit Graph

373 Commits

Author SHA1 Message Date
Tobias Koppers b241549d31 Merge tag 'v4.28.3' into next
4.28.3
2018-12-29 12:59:56 +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 1b402bcae1 Merge tag 'v4.28.0' into next
4.28.0
2018-12-19 14:05:17 +01: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 31e189fcde Merge tag 'v4.24.0' into next
4.24.0
2018-11-02 18:02:39 +01: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 7b85f99a97 improve loglevel option 2018-10-17 21:25:41 +02:00
Tobias Koppers b536fe7aee default cache.name to name + mode 2018-10-17 21:25:40 +02:00
Tobias Koppers 0d980a75ba improve example build and test
improve cache print of references
2018-10-17 21:25:40 +02:00
Tobias Koppers a852828279 add persistent caching prototype 2018-10-17 21:25:39 +02:00
Tobias Koppers 6c27c5f22e remove web-worker example
because worker-loader is incompatible
2018-09-27 13:20:24 +02:00
Tobias Koppers 4f1905aa5a Merge tag 'v4.20.2' into next
4.20.2
2018-09-25 23:13:58 +02:00
Tobias Koppers 54e30e05c0 update examples 2018-09-25 17:10:38 +02:00
Ed Morley 79910c6ba5 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-09-15 12:29:14 +01: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
Florent Cailhol bf7337e935 Update examples 2018-07-14 22:16:32 +02:00
Tobias Koppers 2b14ddc984 Merge tag 'v4.16.0' into next
4.16.0
2018-07-11 11:13:47 +02:00
ferhat elmas 271b77d45f all: typo fixes 2018-07-09 22:54:35 +02:00
Tobias Koppers f0ae54d478 Merge tag 'v4.13.0' into next
4.13.0
2018-07-04 22:08:31 +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
Florent Cailhol d650aa4857 Remove i18n-webpack-plugin 2018-06-26 08:50:54 +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