Commit Graph

28 Commits

Author SHA1 Message Date
skiny2015 6f15d185da Add manual sort mode 2017-07-03 17:10:10 +02:00
Rabbit 9665c63362 Add support for webpack 3(#707) 2017-06-24 23:29:56 +02:00
Jason eeb94b565f this.resourcePath will avoid not skipping resource file with query params. (#588) 2017-02-09 11:08:06 +01:00
Peter Marton 9d7aa21377 fix(chunksorter): webpack2 compatible (#569) 2017-01-29 14:34:25 +01:00
Zhanwei Wu 4e6f902cab optimized err handling logic 2016-06-15 18:36:24 +08:00
wuzhanwei e493348953 Update compiler.js
ref #353 handle err before any logic in promise return by compileTemplate
2016-06-15 13:40:25 +08:00
Jan Nicklas c54273563a Exclude chunks works now even if combined with dependency sort 2016-06-09 23:04:19 +02:00
Jan Nicklas 765002458b Use loadash instead of object assign for old node versions 2016-04-18 13:00:48 +02:00
Jan Nicklas c0b730f25d Support hashes in filenames 2016-04-18 13:00:48 +02:00
Jan Nicklas def0703e71 Add inline tests for webpack 2 2016-03-23 11:13:38 +01:00
Jan Nicklas fab60bed44 Fix sorting for webpack2 2016-03-23 11:06:11 +01:00
Jan Nicklas f616f2e22f Add inlining 2016-03-23 10:07:26 +01:00
Jan Nicklas 854242a24c Merge basic webpack 2 support #225
# By Alexander Wesolowski (1) and Jan Nicklas (1)
* commit 'c883a8663c07da04cb6b713bca45ed65a93f7e5c':
  Move template.js into loader.js
  Fix Webpack2 compatibility. Closes #213.
2016-03-20 15:38:02 +01:00
Denis Sokolov 2fd075ff21 Properly throw an error in compiler even when childCompilation is missing
For some errors, no other parameters to the function are even given,
only the error object in `err`.
2016-02-29 18:12:35 +02:00
Jan Nicklas c883a8663c Move template.js into loader.js 2016-02-16 10:55:31 +01:00
Alexander Wesolowski a5174be6f2 Fix Webpack2 compatibility. Closes #213. 2016-02-16 09:51:25 +01:00
Alexander Wesolowski 6818eedc2d Accomodated for change to Loader API in Webpack 2
issue#213
2016-02-10 01:23:06 -08:00
Jan Nicklas 3f38901758 v2.8.0: Add chunk sort mode dependency 2016-02-03 18:00:27 +01:00
Christian Ruehl 36c762a834 ChunkSorter now implements all different strategies for sorting chunks available through chunksSortMode parameter. HtmlPlugin rewritten to use extended ChunkSorter. 2016-01-26 20:28:02 +01:00
Christian Rühl 3fedf6ac33 Implemented new chunk sorting mode 'dependency', which attempts to order chunks based on their relation within the dependency tree as devised by Webpack.
Added unit test for new sorting mode.

Fixed a few typos in other unit tests...sorry, couldn't resist ;-)
2016-01-25 15:13:19 +01:00
Jan Nicklas bf48112fa9 Use semistandard code style 2016-01-20 16:50:16 +01:00
Jan Nicklas c4ee1738e7 Add some documentation for the hmr fix 2016-01-19 07:38:21 +01:00
Jan Nicklas 3da52a6001 Merge pull request #178 from sokra/windows
Windows support
2016-01-19 07:31:41 +01:00
Tobias Koppers b42074844c Use a separate cache for the child compilation.
Sharing the cache cause bad issues with wrong module ids.
2016-01-18 23:48:42 +01:00
Tobias Koppers b286cea3d2 fixed windows issue (backslash is escape char) 2016-01-18 23:45:22 +01:00
Jan Nicklas e566dac40d Fix context 2016-01-18 14:47:54 +01:00
creeperyang 5ec7e2dc59 require and resolve lodash internal, fix #172 2016-01-15 21:38:52 +08:00
Jan Nicklas 1622c7d2e2 Move compiler to its own file
Improve error messages
Fix global HTML_WEBPACK_PLUGIN variable
2016-01-11 22:00:47 +01:00