Commit Graph

90 Commits

Author SHA1 Message Date
Tobias Koppers 6782a1e2bb Merge pull request #1270 from bhamodi/master
Use secure links.
2015-08-08 13:00:43 +02:00
Alberto Leal 4024689e63 Stronger check and override of comments in UglifyJsPlugin options
Fixes https://github.com/webpack/webpack/issues/324
2015-07-26 21:26:27 -04:00
Baraa Hamodi 3bcf17dca0 Use secure links. 2015-07-20 15:29:53 -07:00
Tobias Koppers f7d799adb4 rebeautify without spacing after keyword 2015-07-16 00:19:23 +02:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Avi Haiat daff7440a6 feat(app): Fix some obvious lint errors and warnings 2015-07-08 15:52:41 +03:00
Tobias Koppers a04ffb9283 added (experimental) NamedModulesPlugin 2015-06-27 22:47:51 +02:00
Kenny Tran 0c663ae3d5 Remove undefined check for MinChunkSizePlugin 2015-05-27 10:10:27 -07:00
Kenny Tran 7a080e6f24 Add argument error handling in optimization plugins 2015-05-27 09:46:47 -07:00
Kenny Tran 7edffc381d Small refactor for getting size
Currently, map is being called to extract sizes then reduce is called on that; so 2 iterations through the array. It is possible to solve this with only reduce: 1 iteration. reallyUsedModules probably won't ever be big enough for this to matter, so it comes down to readability.

I think doing a once-and-done reduce could be an improvement here. What do you guys think?
2015-05-21 12:39:08 -07:00
Tobias Koppers 1679218f80 fixed CommonsChunkPlugin
and added two explict vendor chunks example
2015-04-29 12:46:00 +02:00
Tobias Koppers 84b34151da emit an error when using the CommonChunksPlugin wrongly
#946
2015-04-26 22:47:47 +02:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers 962dddf966 fixed another issue with deduplication 2015-04-21 23:26:20 +02:00
Tobias Koppers 8d350b69a6 Merge pull request #984 from faller/patch-1
fix length judgment in MinChunkSizePlugin
2015-04-20 19:51:22 +02:00
Tobias Koppers 3419ddcb29 use dedupe plugin later in compilation
fixed webpack/style-loader#54
2015-04-20 19:39:02 +02:00
faller d8a495c357 fix length judgment in MinChunkSizePlugin
combinations.length may become 0 after filter
2015-04-16 15:05:20 +08:00
Tobias Koppers 026170a8a3 don't deduplicate modules with async blocks
fixes webpack/bundle-loader#15
2015-04-10 10:02:26 +02:00
Tobias Koppers 44cfedd24e Store `recordsPath` paths relative to `options.context`
deduplicated modules can be stored in records

fixes #295
2015-04-04 02:09:49 +02:00
Tobias Koppers 92f53176a2 use sourceAndMap is available 2015-04-03 12:38:56 +02:00
Tobias Koppers f7445f6a2d Merge pull request #897 from sebastienbarre/seb/650
First stab at SourceMapDevToolPlugin exclude option
2015-03-28 17:39:46 +01:00
Håvard Lindset deb1135d2e check hasOwnProperty when looping over modules 2015-03-25 14:48:36 +01:00
Sebastien Barre 9cbce108f1 Factorize code with UglifyJSPlugin 2015-03-20 14:00:39 -04:00
Antti Ahti 5d107999d5 Show error messages from UglifyJs
Print out err.msg if it's available. Previously these error messages were ignored and it printed unhelpful "undefined"
2015-02-21 11:29:53 +02:00
Tobias Koppers 13b60359f4 DedupePlugin correctly inserts deduplication code
fixed #770
2015-02-09 08:43:46 +01:00
Tobias Koppers b0a3b2a326 added note 2015-02-04 23:22:29 +01:00
Tobias Koppers feb7c7cc49 arguments bug fix 2015-01-18 00:50:05 +01:00
Tobias Koppers 544c368ea1 added support for an async commons chunk, tests and examples 2015-01-11 23:15:11 +01:00
Tobias Koppers 153f937cc8 allow `null` for `selectedChunks` 2015-01-09 19:18:20 +01:00
Tobias Koppers 908c05c07a apply initial and entry correctly with commons chunk
fixes #642
2014-12-28 01:02:36 +01:00
Tobias Koppers 779dbd4930 more features for the CommonsChunkPlugin
* allow to select non-entry chunks
* allow to select multiple/all commons chunks
2014-12-22 12:33:11 +01:00
Tobias Koppers 6779ddb076 allow to disable SourceMap in UglifyJsPlugin 2014-10-31 12:46:18 +01:00
berni 836aac7b51 use test, include and exclude options as suggested by @sokra 2014-10-30 11:29:33 +01:00
berni 15448f16e9 add ability to skip files via user-defined function 2014-10-29 23:35:24 +01:00
Tobias Koppers 8bbc81f635 typo 2014-10-10 09:10:06 +02:00
Tobias Koppers 2d3b2dc4f7 uglify .js with query string
fixes webpack/react-starter#9
2014-10-10 07:35:00 +02:00
Tobias Koppers a2cc7dbd38 apply optimizing on extracted chunks too 2014-09-23 08:42:54 +02:00
Tobias Koppers e489cce1af fixes webpack/extract-text-webpack-plugin#15 2014-09-15 13:33:13 +02:00
Tobias Koppers e0f975eb9e fixes webpack/extract-text-webpack-plugin#14 2014-09-07 22:54:38 +02:00
Tobias Koppers 3597cdb149 Stack trace for critical UglifyJs errors 2014-07-26 13:59:30 +02:00
Tobias Koppers 15045d2879 minCount default should not be 1 or lower
fixes #368
2014-07-24 12:47:18 +02:00
Tobias Koppers e2f83e195d add more complex css-bundle examples
add rebuild module
add chunkName parameter to CommonsChunkPlugin
fix bug in LimitChunkCountPlugin
2014-07-19 14:32:48 +02:00
Michael "Z" Goddard 028444d185 Deref dedupe template module when module fn is called. 2014-07-16 15:26:21 -04:00
Tobias Koppers d80cdcefac Code Quality 2014-06-24 18:53:32 +02:00
Tobias Koppers 42c82f6b77 refactored ModuleTemplate to plugin interface 2014-06-03 08:45:26 +02:00
Tobias Koppers 3247725ba3 refactored MainTemplate to plugin interface 2014-06-02 21:23:53 +02:00
syranide 3f20c27302 Support any UglifyJS OutputStream option {output: {...}} 2014-05-13 23:13:25 +02:00
Tobias Koppers 48aad3eeee fixed #179 typo in OccurenceOrderPlugin 2014-02-25 08:51:40 +01:00
Tobias Koppers 3acab7c27d fixed bug where duplicates are not detected 2014-02-15 11:29:15 +01:00
Tobias Koppers 8229f59adf allow initial chunks to have other ids than 0 2014-02-11 13:27:41 +01:00