Commit Graph

19 Commits

Author SHA1 Message Date
Tobias Koppers 461c49ab66 updated partly to new enhanced-resolve API 2016-01-02 00:21:54 +01:00
Jon Wong 756f2ca177 Testing LibManifestPlugin directly instead of going through DllPlugin
Renamed files to reflect that change, as well as added tests to verify the manifest output.
2015-12-17 10:33:21 -08:00
Jon Wong 4650dfef44 Fixing issue where DllPlugin + code-splits caused Webpack to end without emitting chunks.
When utilizing code-splitting via a statement like `require.ensure` in addition to the `DllPlugin`, the webpack process would emit the Dll manifest, but not the chunks corresponding to that manifest.

According to [async#forEach](https://github.com/caolan/async#eacharr-iterator-callback), the callback must be called at the completion of every iteration - when utilizing code-splitting, the shortcut branch here would never call the iterator callback, which in turn meant that the `emit` callback never got called, causing the chunks generated by the Dll to not get emitted.

Adding the completion callback results in the behavior we expect - the manifest and the chunks corresponding to that manifest both get emitted.
2015-12-16 10:45:48 -08:00
Tobias Koppers 67656b90e2 split uglify-js from loader minimize, better shortcut defaults 2015-11-16 23:11:15 +01:00
Tobias Koppers 33d954229b updated plugin calls to options object 2015-10-31 16:31:10 +01:00
Tobias Koppers 44f919ecc7 Merge branch 'master' into webpack-2
Conflicts:
	test/statsCases/chunks/expected.txtT
2015-08-08 09:40:35 +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
Tobias Koppers 11a578a36b Merge branch 'master' into webpack-2
Conflicts:
	lib/NormalModuleFactory.js
2015-05-16 14:59:50 +02:00
Kristian Tryggestad 3ea83f15c0 Add tests for exclude functionality in BannerPlugin 2015-05-09 02:37:01 +02:00
Tobias Koppers ed75627f06 Merge branch 'master' into webpack-2
Conflicts:
	bin/convert-argv.js
	package.json
2015-04-14 20:09:29 +02:00
hkal ccabb75c1d Add and expose WatchIgnorePlugin
* Test stubs included
2015-03-07 14:43:48 -05:00
Tobias Koppers 6d183d4044 fix more tests 2015-03-05 22:58:03 +01:00
Tobias Koppers 2f3e0aea72 remove (...) from DefinePlugin.
#729
2015-03-05 21:49:22 +01:00
Tobias Koppers 3d153efe27 better handling of nested vars in Define and Provide
fixes #812
2015-02-28 00:26:44 +01:00
Tobias Koppers 196db0743d allow undefined, RegExp and objects in DefinePlugin
merged #807 and #791
2015-02-21 13:20:57 +01:00
Tobias Koppers adfcfce15f watching of missing files, fixed #668
store missing files from errors for missingDependencies
make the new watching plugins default
added OldWatchingPlugin
2015-01-17 21:55:44 +01:00
Tobias Koppers 6171417273 fixed enviroment plugin test cases 2015-01-06 23:02:44 +01:00
Simen Brekken 8230848523 Added EnvPlugin tests. 2014-12-23 11:06:48 +01:00
Tobias Koppers 1cc87e9b53 added support for nested var in the ProvidePlugin 2014-10-16 22:31:20 +02:00