Commit Graph

311 Commits

Author SHA1 Message Date
Jan Nicklas 831cbdecb8 Ensure that all tests pass for webpack2
Use sort mode "dependency" as default for webpack2
2016-03-23 11:06:11 +01:00
Jan Nicklas 40b065808c Add example results for webpack-2 2016-03-23 11:06:11 +01:00
Jan Nicklas 935eefb291 Move web pack 1 example results into a subfolder 2016-03-23 11:06:11 +01:00
Jan Nicklas f616f2e22f Add inlining 2016-03-23 10:07:26 +01:00
Jan Nicklas a04434a225 Add unit tests for absolute file names 2016-03-23 09:20:34 +01:00
Evan You e4e9555209 support absolute filenames 2016-03-23 03:08:46 -04:00
Jan Nicklas 9066ad2ad3 Merge pull request #263 from ampedandwired/feature/recompilation-tests
Add caching tests
2016-03-21 12:02:09 +01:00
Jan Nicklas 4114403df2 Count built files 2016-03-21 00:10:43 +01:00
Jan Nicklas 58681c3bdb Release v2.12.0 2016-03-20 15:40:12 +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
Jan Nicklas 890353b6e4 Add caching tests 2016-03-20 15:34:59 +01:00
Jan Nicklas 75adbcb066 Release 2.11.0 2016-03-20 14:14:26 +01:00
Jan Nicklas 67ca550b99 Merge pull request #249 from sandeep45/master
build public path with correct hash value
2016-03-17 07:04:33 +01:00
Sandeep Arneja eb01c774f2 Added a unit test to ensure that hashes are resolved correctly when used as the directory name holding the bundle file 2016-03-16 12:20:08 -04:00
Jan Nicklas b613824bf8 Merge pull request #255 from fetch/xhtml
Add xhtml option to make link tags self-closing
2016-03-15 14:48:18 +01:00
Koen Punt f8abc156b5 Add xhtml option to readme and add tests 2016-03-15 13:51:41 +01:00
Jan Nicklas 7af56dbb99 Merge pull request #254 from mistadikay/master
Update changelog
2016-03-15 12:56:07 +01:00
Koen Punt bf5901e5c0 Add xhtml option to make link tags self-closing 2016-03-15 12:37:18 +01:00
mistadikay c4587c1443 add missing changelog from 1.5.0 to 2.10.0 2016-03-15 11:01:20 +07:00
mistadikay 5ca4d1610a rename CHANGES.md to CHANGELOG.md 2016-03-15 11:00:59 +07:00
Jan Nicklas 13e9a2ed2f Update README.md 2016-03-10 11:26:12 +01:00
Jan Nicklas 4a817ab2c3 v2.10.0
switch to jasmine 2 #241
add before-html-generation event #240
Properly throw an error in compiler even when childCompilation is missing #243
Update dependencies
2016-03-10 11:14:18 +01:00
Sandeep Arneja 419c2e6121 build public path with correct hash value 2016-03-09 17:45:42 -05:00
Jan Nicklas 07d410d477 Merge pull request #246 from michael-wolfenden/add-compilation-property-to-templateParams
Add additional compilation property to the templateParam object
2016-03-02 08:37:12 +01:00
Michael Wolfenden 3005cec0f9 Add additional compilation property to the templateParam object 2016-03-02 13:28:26 +10:00
Jan Nicklas f707c98d32 Merge pull request #240 from SimenB/event-before-function-invocation
Add before-html-generation event
2016-02-29 18:51:16 +01:00
Jan Nicklas 183eab1e83 Merge pull request #241 from SimenB/jasmine-2
Upgrade jasmine to 2
2016-02-29 18:50:13 +01:00
Jan Nicklas 24a4ea0df4 Merge pull request #242 from SimenB/travis
Test on alle LTS releases of Node
2016-02-29 18:49:43 +01:00
Jan Nicklas 4d3c7319ed Merge pull request #243 from denis-sokolov/patch-1
Properly throw an error in compiler even when childCompilation is missing
2016-02-29 18:49:32 +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
Simen Bekkhus dbd508027b Test on alle LTS releases of Node 2016-02-28 09:32:57 +01:00
Simen Bekkhus 75175a6297 Upgrade jasmine to 2 2016-02-28 09:30:26 +01:00
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