Commit Graph

24 Commits

Author SHA1 Message Date
Tobias Koppers 7afc833092 improve micro benchmarks 2021-10-28 12:08:44 +02:00
Tobias Koppers ade40a4edd improve hashing for longer strings, fix max short string length 2021-10-28 11:01:29 +02:00
Tobias Koppers dcf3b02aaf add wasm md4 implementation
expose createHash is loader context
2021-10-28 00:07:26 +02:00
Mohsen Azimi 7b07a8db66 Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
Tobias Koppers 180f912493 Merge tag 'v4.29.2' into next
4.29.2
2019-02-06 15:37:11 +01:00
Tobias Koppers b25ff237bb Prettify source code 2019-02-05 10:08:45 +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
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
Tobias Koppers e979f1534e use optimization.moduleIds instead of plugins directly 2018-09-03 20:12:55 +02:00
byzyk af56c69af5 fix(linter rules): unsupported operator in node, relative require 2018-06-14 12:09:39 +04:00
byzyk ee83821503 fix remaining prettier issue 2018-06-13 15:35:47 +04:00
byzyk 54977cd331 fix benchmark linter issues 2018-06-13 15:04:23 +04:00
EugeneHlushko 735c8ce9e0 refactor(es6): multiline string, arr.includes, arrow functions in ./lib and ./benchmark 2018-02-17 13:09:35 +02:00
EugeneHlushko 9a185e9d34 refactor(es6): benchmark directory 2017-12-27 16:54:59 +02:00
Tobias Koppers 544fee4658 fix lint problem 2017-07-24 22:11:35 +02:00
Tobias Koppers 04fcde9d5d add files to create a benchmark bundle and test cases 2017-07-24 11:15:45 +02:00
Tim Sebastian db0dbc327b rename async to make it future proof 2017-04-09 16:32:04 +10:00
Tim Sebastian e6d39c0669 fix linting 2017-04-09 16:31:48 +10:00
Tobias Koppers f4ab7fc7e2 more performance improvements 2016-12-14 16:22:54 +01:00
Tobias Koppers 4c2ae563c4 added more benchmark fixtures 2016-04-22 01:05:38 +02:00
Tobias Koppers eba4727733 beautify stuff 2015-07-16 00:27:37 +02:00
Tobias Koppers 36ab982b81 fix benchmark script 2015-06-13 17:44:54 +02:00
Tobias Koppers 0431b74149 added cheap-source-map and lineToLine option 2015-04-05 01:52:30 +02:00
Tobias Koppers 5b56a6149b added benchmark 2015-04-04 02:32:04 +02:00