Commit Graph

72 Commits

Author SHA1 Message Date
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
Tobias Koppers d6f9b7527f added AggressiveMergingPlugin and example
fixes #162
2014-02-05 12:05:09 +01:00
Tobias Koppers d3a9712193 bug fixing 2014-02-03 18:12:19 +01:00
Tobias Koppers b92af72712 fixed #158 2014-01-31 13:12:51 +01:00
Tobias Koppers 7e8b2c6972 fixed empty commons chunk 2013-12-19 11:46:45 +01:00
Tobias Koppers 3170b76b22 webpack 1.0 beta
moved many options to plugins
#113
2013-12-17 23:21:49 +01:00
Tobias Koppers a395c07c5d report better errors for uglify-js 2013-12-17 00:53:22 +01:00
Tobias Koppers d8dbc5e602 less code 2013-12-13 09:47:18 +01:00
Tobias Koppers 1fa9169cf2 use initial flag for initial loaded chunks 2013-12-03 23:11:14 +01:00
Tobias Koppers bc016f4517 fix nested commons chunks 2013-12-03 19:09:42 +01:00
Tobias Koppers 63e0d4668c Allow to address a commons chunks 2013-12-03 17:14:28 +01:00
Tobias Koppers 8e3d00e77c better default value 2013-12-03 11:44:46 +01:00
Tobias Koppers f165e8e2f1 fixed bug when using an array of entry points in commons chunk plugin 2013-12-03 11:34:38 +01:00
Tobias Koppers 20e9f65bb1 accept an array of entryPoints for Commons chunk 2013-12-03 11:28:39 +01:00
Tobias Koppers 153be562db keep commons chunk in mind when optimizing 2013-12-03 11:28:00 +01:00
Tobias Koppers 6c6e495ae7 better commons naming #128 2013-12-03 11:19:30 +01:00
Tobias Koppers 4d25d521f6 plugin to extract common modules
from multiple entry points
#128
2013-12-03 09:27:15 +01:00
Tobias Koppers 6a0b9f0d9c fixes this in deduped modules 2013-11-27 13:37:47 +01:00
Tobias Koppers c9331d93d3 fixed location info for minimizing 2013-10-31 00:06:39 +01:00