Commit Graph

379 Commits

Author SHA1 Message Date
Simen Bekkhus 3897896265 Add before-html-generation event
This allows you to add assets to the html when not using
injection
2016-02-27 18:28:41 +01:00
Jan Nicklas 4a69c9a013 Merge pull request #235 from mc-zone/master
Add chunk hash to `assets.chunks`
2016-02-27 02:01:19 +01:00
Jan Nicklas 05b2abde73 Merge pull request #238 from JSteunou/patch-2
Fix regex
2016-02-27 02:00:40 +01:00
mc-zone 313a83115a add test 2016-02-26 20:57:49 +08:00
Jérôme Steunou a21b79aeb1 Fix regex
even if it works without, because catching any character, better to be explicit.
2016-02-26 09:44:04 +01:00
Ma Cheng 0b4d7383ea Add chunk hash to `assets.chunks`
Add chunk hash to `assets.chunks` so can use it in template.
For some version control requirements, chunk hash may be more useful than compilation hash.
For example, if there are two chunks in page, but only one of them is changed, chunk hash is more cache-friendly.
2016-02-23 19:09:18 +08:00
Jan Nicklas 73a5ef7bef Merge pull request #231 from JSteunou/patch-1
Explicit documentation about sub-templating
2016-02-19 16:17:32 +01:00
Jérôme Steunou 19f0eeb0d2 Explicit documentation about sub-templating
Maybe I should split this PR into 2 commits, you will tell me

* there was one comma `;` in the example that made my build crash.
* judging by the hard time people have when using this feature, including myself, there is clearly some miss-understanding #230 #202 #198 #176
2016-02-19 10:54:27 +01:00
Jan Nicklas 713643f84f v2.9.0 Fix favicon path (#185 #208 #215) 2016-02-17 13:17:23 +01:00
Jiri Kolarik b65c39c2f1 fix favicon location 2016-02-17 13:14:31 +01:00
Jan Nicklas e3c7975d78 Remove webpack 2 tests for now 2016-02-16 18:33:13 +01: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
Jan Nicklas 617abd6a4d Update .travis.yml 2016-02-16 08:59:55 +01:00
Jan Nicklas 18b4c4c912 Test webpack 1 and 2 2016-02-16 08:50:16 +01:00
Jan Nicklas 7f81466c14 v2.8.2: Support relative urls on windows (#205) 2016-02-16 08:25:12 +01:00
Jan Nicklas 63e4ad6fc7 Support relative urls on windows (#205) 2016-02-16 08:05:15 +01:00
Jan Nicklas 453975ee0f Improve sorting tests 2016-02-16 07:56:36 +01:00
Jan Nicklas 97cd17083a Merge pull request #217 from jpetitcolas/patch-1
[RFR] Fix typo
2016-02-12 09:33:15 +01:00
Jonathan Petitcolas 07fb7560b6 Fix typo 2016-02-11 15:12:39 +01:00
Jan Nicklas 2ed44aad42 Merge pull request #214 from foglerek/master
Accomodated for change to Loader API in Webpack 2
2016-02-10 13:04:40 +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 99a8d7e4fd v2.8.1: Improve caching - fixes #204 2016-02-03 18:03:22 +01:00
Jan Nicklas 3f38901758 v2.8.0: Add chunk sort mode dependency 2016-02-03 18:00:27 +01:00
Jan Nicklas 5fb1eca651 Merge pull request #187 from SpaceK33z/add-jade-dep
Add jade dev dependency to fix tests
2016-01-28 00:23:36 +01:00
Jan Nicklas 0bdc43f478 Merge pull request #192 from ruehl/dependency-sort
Implemented new chunk sorting mode 'dependency'
2016-01-28 00:08:28 +01:00
Jan Nicklas 6f008c431c Merge pull request #195 from Foxandxss/patch-1
Fix typo in readme
2016-01-27 10:19:56 +01:00
Jesús Rodríguez ea9782d1b9 Fix typo in readme 2016-01-27 10:18:48 +01:00
Jan Nicklas ac60b8e290 Update readme 2016-01-27 09:53:09 +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 f8de79cce5 Merge pull request #188 from graingert/patch-1
Fix typos and grammar
2016-01-25 02:32:22 +01:00
Thomas Grainger bee33c4081 Fix typos and grammar 2016-01-24 20:51:14 +00:00
Jan Nicklas 78c4e32bb0 Update README.md 2016-01-24 19:31:00 +01:00
Jan Nicklas d49c2207c5 Fix migration guide link 2016-01-24 19:30:22 +01:00
Jan Nicklas cd77e8a727 Add migration guide 2016-01-24 19:29:03 +01:00
Jan Nicklas 70df65d9e5 Add support for require in js templates 2016-01-24 19:07:09 +01:00
Kees Kluskens 01d7dd602d Add jade dev dependency to fix tests
3 tests failed without this dependency.
2016-01-22 00:12:27 +01:00
Jan Nicklas 9e8259ae26 Merge 2.x into master 2016-01-20 17:12:01 +01:00
Jan Nicklas 08fb649710 Update batch link for windows tests 2016-01-20 17:04:27 +01:00
Jan Nicklas 8eb8c86be4 Fix relative windows path 2016-01-20 16:51:07 +01:00
Jan Nicklas bf48112fa9 Use semistandard code style 2016-01-20 16:50:16 +01:00
Jan Nicklas a35e5e3b84 Add appveyor file 2016-01-20 16:24:16 +01:00
Jan Nicklas d5c4e08457 Minor refactoring because of #179
Release 2.6.5
2016-01-19 14:52:25 +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
Jan Nicklas f74928b6e6 Merge pull request #179 from sokra/cache-in-child
Child compilation must use a separate cache object
2016-01-19 07:31:16 +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 9e7cc462ba Add example results and add them to the test suite 2016-01-18 14:48:39 +01:00